The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

AnyEvent::WebService::Tracks::Resource - Generic superclass for Tracks resources

VERSION

0.02

DESCRIPTION

AnyEvent::WebService::Tracks::Resource is a generic superclass for Context, Project, and Todo objects, and provides common methods.

ACCESSORS

Accessors for resource objects don't actually update the object in Tracks; calling the update method pushes the changes to the server.

METHODS

$resource->destroy($cb)

Destroys the resource in the Tracks installation, and provides either a truthy value to the callback upon success, or a falsy value and an error message on failure.

$resource->update($cb)

Submits pending updates to Tracks. Provides $resource to the callback on success, or a falsy value and and error message on failure.

AUTHOR

Rob Hoelz, rob at hoelz.ro

BUGS

Please report any bugs or feature requests to bug-AnyEvent-WebService-Tracks at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=AnyEvent-WebService-Tracks. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Copyright 2011 Rob Hoelz.

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

SEE ALSO

AnyEvent::WebService::Tracks::Context, AnyEvent::WebService::Tracks::Project, AnyEvent::WebService::Tracks::Todo, AnyEvent::WebService::Tracks