NAME
Net::OpenSocial::Client::ResultSet - Set of result
SYNOPSIS
my $result_set = Net::OpenSocial::Client::ResultSet->new;
$result_set->set_result( $request1_id => $result1 );
$result_set->set_result( $request2_id => $result2 );
my $result = $result_set->get_result( $request1_id );
if ( $result->is_error ) {
...
}
...
DESCRIPTION
Set of result.
METHODS
results
Hash reference that contains some of pairs of request-id and result.
get_result( $request_id )
Get the Net::OpenSocial::Client::Result object for the request-id indicated.
set_result( $request_id => $result )
Set the Net::OpenSocial::Client::Result object with request-id.
SEE ALSO
Net::OpenSocial::Client::Result
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.