NAME
Net::OpenSocial::Client::Result - Result of REST/RPC request
SYNOPSIS
my $result = $result_set->get_result( $request_id );
if ( $result->is_error ) {
say $result->code;
say $result->message;
} else {
my $data = $result->data;
}
DESCRIPTION
Result of REST/RPC request.
METHODS
is_error
Boolean that represents if the request successfuly got response.
code
HTTP status code.
message
HTTP status message
data
Returns a resource or collection of resources. See Net::OpenSocial::Client::Resource and its subclasses, and Net::OpenSocial::Client::Collection.
AUTHOR
Lyo Kato, <lyo.kato@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Lyo Kato
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.