package Finance::GDAX::API;
our $VERSION = '0.09';
use 5.20.0;
use warnings;
use JSON;
use Moose;
use REST::Client;
use MIME::Base64;
use Digest::SHA qw(hmac_sha256_base64);
use Finance::GDAX::API::UR
Int',
writer => '_set_response_code',
);
has '_body_json' => (is => 'ro',
isa => 'Maybe[Str]',
writer => '_set_body_json',
);
sub send {
my $self = shift;
my $client
CESS-PASSPHRASE', $self->passphrase);
$client->addHeader('Content-Type', 'application/json');
my $method = $self->method;
$client->setTimeout($self->timeout) if $self->timeout;