NAME
PagSeguro::API::Resource - PagSeguro API class for getting end-point fragments
SYNOPSIS
use PagSeguro::API::Resource;
my $r = PagSeguro::API::Resource->new;
my $uri_keys = $r->get_keys;
say $r->get('BASE_URI');
DESCRIPTION
PagSeguro::API::Resource is a class that store all end-points and some other informations.
METHODS
All class methods of public api..
get
my $r = PagSeguro::API::Resource->new;
say $r->get('BASE_URI');
Return value associated to a specific key.
get_keys
my $r = PagSeguro::API::Resource->new;
my $keys = $r->get_keys;
say "key: $_" for @$keys;
Return an arrayref
of all keys that you can use.
AUTHOR
Daniel Vinciguerra <daniel.vinciguerra@bivee.com.br>
2013 (c) Bivee http://bivee.com.br
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Bivee.
This is a free software; you can redistribute it and/or modify it under the same terms of Perl 5 programming languagem system itself.