NAME
WebService::HealthGraph::Response - Generic response object for WebService::HealthGraph
VERSION
version 0.000004
CONSTRUCTOR ARGUMENTS
- get
-
A
CodeRef
which can be used to fetch subsequent pages. Only useful ifauto_pagination
istrue
. - raw
-
An HTTP::Response object.
content
Returns either a HashRef
or an ArrayRef
of the content, depending on what the HealthGraph API returns.
next
This method iterates over the items in the response content, returning one HashRef at a time.
next_page_uri
Returns the URL of the next page of results, in the form of a URI object. Returns undef
if there is no next page.
raw
Returns the raw HTTP::Response object.
success
Returns true if the HTTP request was fetched and parsed successfully.
AUTHOR
Olaf Alders <olaf@wundercounter.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Olaf Alders.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.