NAME
Net::MyCommerce::API::Client
VERSION
version 1.0.1
METHODS
new
REST::Client wrapper used by Net::MyCommerce::API::Token and Net::MyCommerce::API::Resource
request (%opts)
%opns:
path: (required) full path or array ref with path elements; exclude prefix
params: (optional) query params
headers: (optional) headers
my $client = Net::MyCommerce::API::Client->new(%args);
my ($error, $result) = $client->request(%opts);
my $content = $result->{content};
my $status_code = $result->{status_code};
my $headers = $result->{headers};