NAME
WebService::Fitbit::Response - Thin wrapper around HTTP::Response objects
VERSION
version 0.000001
CONSTRUCTOR ARGUMENTS
- raw
-
An HTTP::Response object.
METHODS
content
This is the parsed JSON body of the response. Generally this will be a HashRef
.
raw
Returns the raw HTTP::Response object.
success
Returns true if the Fitbit API returns a 2xx code and the X-Died
header has not been set..
AUTHOR
Olaf Alders <olaf@wundercounter.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 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.