NAME

WebService::Toggl::Role::Set - Common behavior for Sets of API objects

DESCRIPTION

This role provide behavior common to all Sets of WebService::Toggl::API:: objects.

REQUIRES

list_of

The class name of the objects this set comprises.

ATTRIBUTES

raw

The raw data returned from query the collection endpoint.

METHODS

all

Returns a list of objects in the set. The objects are constructed from the raw data in the Set, so no additional queries are necessary.

LICENSE

Copyright (C) Fitz Elliott.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Fitz Elliott <felliott@fiskur.org>