| App-Toodledo documentation | Contained in the App-Toodledo distribution. |
App::Toodledo::Folder - class encapsulating a Toodledo folder
$folder = App::Toodledo::Folder->new; $folder->name( 'Shopping List' ) $todo = App::Toodledo->new; $todo->add_folder( $folder );
This class provides accessors for the properties of a Toodledo folder. The following attributes are defined:
id name private archived order
Peter J. Scott, <cpan at psdt.com>
Toodledo: http://www.toodledo.com/.
Toodledo API documentation: http://www.toodledo.com/info/api_doc.php.
Copyright 2009 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.
| App-Toodledo documentation | Contained in the App-Toodledo distribution. |
package App::Toodledo::Folder; use strict; use warnings; our $VERSION = '0.02'; use Carp; use Moose; has id => ( is => 'rw', isa => 'Int' ); has name => ( is => 'rw', isa => 'Str' ); has private => ( is => 'rw', isa => 'Int' ); has archived => ( is => 'rw', isa => 'Int' ); has order => ( is => 'rw', isa => 'Int' ); 1; __END__