Why not adopt me?
NAME
AnyEvent::WebService::Tracks::Context - Tracks context objects
VERSION
0.02
SYNOPSIS
$tracks->create_context($name, sub {
my ( $context ) = @_;
say $context->name;
});
DESCRIPTION
AnyEvent::WebService::Tracks::Context objects represent GTD contexts in a Tracks installation.
READ-ONLY ATTRIBUTES
created_at
When the context was created.
id
The ID of the context in Tracks.
updated_at
When the context was last updated.
WRITABLE ATTRIBUTES
name
The name of the context (must be unique).
position
The position of this context in the list of displayed contexts.
METHODS
Most useful methods in this class come from its superclass, AnyEvent::WebService::Tracks::Resource.
$context->is_hidden
Returns a truthy value when this context is hidden, and falsy one when it is not.
$context->hide
Hide this context on its next update.
$context->unhide
Unhides this context on its next update.
$context->todos($cb)
Retrieves the list of todos under this context and calls $cb
with an array reference containing them.
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::Resource, AnyEvent::WebService::Tracks