};
$self->{'__ua'}->env_proxy();
# Check if JSON is available
if (eval { require JSON; }) {
$self->{'__format'} = 'json';
} else {
$self->{'__format'} = 'perl';
{
my $result;
if ($self->{'__format'} eq 'json') {
return unless $result = JSON::from_json($res->content());
} else {
## no critic
liar
with it.
=head1 DEPENDENCIES
LWP::UserAgent
Data::UUID
LWP::protocol::https
If JSON.pm is installed, JSON format is used when making requests to API;
otherwise Data::Dumper format is used. Not