AnyEvent::WebService::Tracks::Todo - Tracks todo objects
0.02
$tracks->create_todo($description, $context, sub { my ( $todo ) = @_; say $todo->description; });
AnyEvent::WebService::Tracks::Todo objects represent GTD todo items in a Tracks installation.
When the todo was completed.
When the todo was created.
The Tracks ID of this todo item.
Unused by this library for now.
When the todo was last updated.
Whether or not the todo item is complete.
Whether or not the todo item is active.
Whether or not the todo item's project is hidden.
Whether or not the todo item has been deferred.
A description of this todo item.
When this todo item is due.
Any notes attached to this todo item.
When to start showing the todo item.
This functions a little bit differently than the other accessors; it takes either a Context object, a callback, or undef. If a Context object or undef is provided, that will be the new context for this todo item on the next update. If a callback is provided, a call is made to Tracks to retreve the context object, which is then provided to the callback.
This functions a little bit differently than the other accessors; it takes either a Project object, a callback, or undef. If a Project object or undef is provided, that will be the new project for this todo item on the next update. If a callback is provided, a call is made to Tracks to retreve the project object, which is then provided to the callback.
Most useful methods in this class come from its superclass, AnyEvent::WebService::Tracks::Resource.
Mark this todo item as complete on its next update.
Mark this todo item as active on its next update.
Defer this todo item. $amount can be a DateTime, a DateTime::Duration, or simply an integer (which is interpreted as the number of days to defer the item.)
$amount
Rob Hoelz, rob at hoelz.ro
rob at hoelz.ro
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.
bug-AnyEvent-WebService-Tracks at rt.cpan.org
Copyright 2011 Rob Hoelz.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AnyEvent::WebService::Tracks::Resource, AnyEvent::WebService::Tracks
To install AnyEvent::WebService::Tracks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::WebService::Tracks
CPAN shell
perl -MCPAN -e shell install AnyEvent::WebService::Tracks
For more information on module installation, please visit the detailed CPAN module installation guide.