package Net::API::Gett::Request;
use Moo;
use Sub::Quote;
use Carp qw(croak);
use JSON;
use LWP::UserAgent;
use HTTP::Request::Common;
use HTTP::Headers;
our $VERSION = '1.06';
=head1 NAME
Net::AP
f = shift;
my $hr = shift;
return encode_json($hr);
}
sub _decode {
my $self = shift;
my $json = shift;
return decode_json($json);
}
sub _send {
my $self = shift;
my $m
e.
Input:
=over
=item * endpoint fragment
=back
Output:
=over
=item * Perl hash ref of the JSON response from the API
=back
Gives a fatal error under any error condition.
=back
=cut
sub ge