API-Wunderlist
view release on metacpan or search on metacpan
"generated_by" : "Dist::Zilla version 5.037, CPAN::Meta::Converter version 2.150005",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : 2
},
"name" : "API-Wunderlist",
"prereqs" : {
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"API::Client" : "0.03",
"Data::Object" : "0.57",
"Mojolicious" : "6.22",
"perl" : "v5.14.0"
README.mkdn view on Meta::CPAN
$wunderlist->timeout(5);
The timeout attribute determines how long an HTTP connection should be kept
alive. This attribute defaults to 10.
## url
$wunderlist->url;
$wunderlist->url(Mojo::URL->new('https://a.wunderlist.com'));
The url attribute set the base/pre-configured URL object that will be used in
all HTTP requests. This attribute expects a [Mojo::URL](https://metacpan.org/pod/Mojo::URL) object.
## user\_agent
$wunderlist->user_agent;
$wunderlist->user_agent(Mojo::UserAgent->new);
The user\_agent attribute set the pre-configured UserAgent object that will be
used in all HTTP requests. This attribute expects a [Mojo::UserAgent](https://metacpan.org/pod/Mojo::UserAgent) object.
# METHODS
## action
my $result = $wunderlist->action($verb, %args);
# e.g.
requires "API::Client" => "0.03";
requires "Data::Object" => "0.57";
requires "Mojolicious" => "6.22";
requires "perl" => "v5.14.0";
on 'test' => sub {
requires "perl" => "v5.14.0";
};
on 'configure' => sub {
requires "ExtUtils::MakeMaker" => "0";
};
lib/API/Wunderlist.pm view on Meta::CPAN
$wunderlist->timeout(5);
The timeout attribute determines how long an HTTP connection should be kept
alive. This attribute defaults to 10.
=head2 url
$wunderlist->url;
$wunderlist->url(Mojo::URL->new('https://a.wunderlist.com'));
The url attribute set the base/pre-configured URL object that will be used in
all HTTP requests. This attribute expects a L<Mojo::URL> object.
=head2 user_agent
$wunderlist->user_agent;
$wunderlist->user_agent(Mojo::UserAgent->new);
The user_agent attribute set the pre-configured UserAgent object that will be
used in all HTTP requests. This attribute expects a L<Mojo::UserAgent> object.
=head1 METHODS
=head2 action
my $result = $wunderlist->action($verb, %args);
# e.g.
( run in 0.456 second using v1.01-cache-2.11-cpan-283623ac599 )