WebService::Toggl::Report - Base Role for WebService::Toggl::Report objects
This role provide behavoir common to all WebService::Toggl::Report:: objects.
WebService::Toggl::Report::
Consuming classes must provide their endpoint on the Reports API. Ex. The WebService::Toggl::Report::Summary object's api_path is summary.
api_path
summary
The base of the URL for the Toggl Reports API. Defaults to /reports/api/v8.
/reports/api/v8
URL for the current Report object.
The raw data structure returned by querying the API.
The ID of the workspace for which the report is being generated.
DateTime objects representing the bounding period for the report. Defaults to until = today, since = today - 6 days
until
since
These attributes are common to all reports. See the Toggl API Docs for more information
Total time (in milliseconds) represented by the entries in the report.
Total billable time (in milliseconds) represented by the entries in the report.
Total earnings represented by the entries in the report.
The detailed contents of the report. This will differ between each type of report.
Copyright (C) Fitz Elliott.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Fitz Elliott <felliott@fiskur.org>
To install WebService::Toggl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Toggl
CPAN shell
perl -MCPAN -e shell install WebService::Toggl
For more information on module installation, please visit the detailed CPAN module installation guide.