Door;
use warnings;
use strict;
use Carp;
use Data::Dumper;
use Digest::SHA qw(sha256_hex);
use JSON;
use REST::Client;
use UUID::Tiny;
#use Smart::Comments -ENV;
use base qw(Class::Accessor);
us
oded_response_body =
$response_body && $response_body ne q{}
? decode_json( $response_body )
: undef; # TODO test for response_body eq q{}
#
> 'json'}, $currency_data );
my $currency_id = $currency->[0]->{'id'};
$currency_data->{'pub_title'} = 'Coins';
$client->PUT( sprintf( 'currency/%s', $currency_id ), {format => 'json'},
$self->get_id, $resource->get_resource_name,
$resource->get_id ),
{format => 'json'}
);
return $result;
}
1;
__END__
=head1 NAME
WWW::BigDoor::URL - URL Resource Object
nt->POST( sprintf( '%s/%s/execute/%s', $ep, $self->get_id, $end_user_login ),
{format => 'json'}, $payload );
return $result;
}
1;
__END__
=head1 NAME
WWW::BigDoor::NamedTransactionGrou
$self->get_id, $resource->get_resource_name,
$resource->get_id ),
{format => 'json'}
);
return $result;
}
1;
__END__
=head1 NAME
WWW::BigDoor::Attribute - Attribute Reso
T( sprintf( '%s/%s', $ep, $self->get_id ), {format => 'json'}, $payload );
}
else {
$result = $client->POST( $ep, {format => 'json'}, $payload );
}
### result: $result->[0]