:SHA qw/hmac_sha256_hex/;
use String::CamelCase qw/camelize/;
use Class::Load qw/load_class/;
use JSON qw//;
use Class::Accessor::Lite (
ro => [qw/
api_base
access_key
sec
re
nonce
decode_json
/],
);
our $VERSION = '0.04';
sub new {
my $class = shift;
my %args = @_;
my $self = bless {
decode_json => 0,
api_base => '
__ . "/$VERSION",
default_headers => {
'Content-Type' => 'application/json',
'ACCESS-KEY' => $self->access_key,
},
timeout => 15,