rvice::Flattr;
{
$WebService::Flattr::VERSION = '0.55';
}
use strict;
use warnings;
use JSON 'decode_json';
use LWP::UserAgent ();
use URI ();
use URI::QueryParam ();
use URI::Template ();
use Web
, Accept => 'application/json');
if ($resp->is_error) {
die $resp->status_line;
}
return WebService::Flattr::Response->_new({
data => decode_json $resp->content,
return bless $arg, $class;
}
=head2 data
This returns a data structure deserialised from the JSON part of the
response as defined by Flattr's API.
=cut
sub data {
shift->{data};
}
=head2 h