NAME
App::Toodledo::Task - class encapsulating a Toodledo task
SYNOPSIS
$task = App::Toodledo::Task->new;
$task->title( 'Put the cat out' );
DESCRIPTION
This class provides accessors for the properties of a Toodledo task. The attributes of a task are defined in the App::Toodledo::TaskRole module.
METHODS
@tags = $task->tags
Return the tags of the task as a list (splits the attribute on comma).
$task->status, $task->priority
Each of these methods operates on the string defined at http://api.toodledo.com/2/tasks/index.php, not the integer. The string will be turned into the integer going into Toodledo and the integer will get turned into the string coming out. Examples:
$task->priority( 'Top' )
$task->status eq 'Hold' and ...
CAVEAT
This is a very basic implementation of Toodledo tasks. It is missing much that would be helpful with dealing with repeating tasks. Patches welcome.
AUTHOR
Peter J. Scott, <cpan at psdt.com>
SEE ALSO
Toodledo: http://www.toodledo.com/.
Toodledo API documentation: http://www.toodledo.com/info/api_doc.php.
COPYRIGHT & LICENSE
Copyright 2009-2011 Peter J. Scott, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.