line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::Toodledo::Account; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
our $VERSION = '1.00'; |
4
|
|
|
|
|
|
|
|
5
|
8
|
|
|
8
|
|
47
|
use Carp; |
|
8
|
|
|
|
|
14
|
|
|
8
|
|
|
|
|
542
|
|
6
|
8
|
|
|
8
|
|
46
|
use Moose; |
|
8
|
|
|
|
|
14
|
|
|
8
|
|
|
|
|
54
|
|
7
|
8
|
|
|
8
|
|
46963
|
use MooseX::Method::Signatures; |
|
8
|
|
|
|
|
17
|
|
|
8
|
|
|
|
|
80
|
|
8
|
8
|
|
|
8
|
|
3773
|
use App::Toodledo::AccountInternal; |
|
8
|
|
|
|
|
25
|
|
|
8
|
|
|
|
|
956
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
extends 'App::Toodledo::InternalWrapper'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has object => ( is => 'ro', isa => 'App::Toodledo::AccountInternal', |
13
|
|
|
|
|
|
|
default => sub { App::Toodledo::AccountInternal->new }, |
14
|
|
|
|
|
|
|
handles => sub { __PACKAGE__->internal_attributes( $_[1] ) } ); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
App::Toodledo::Account - class encapsulating a Toodledo account |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 SYNOPSIS |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
$account = App::Toodledo::Account->new; |
27
|
|
|
|
|
|
|
$todo = App::Toodledo->new; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 DESCRIPTION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This class provides accessors for the properties of a Toodledo account. |
32
|
|
|
|
|
|
|
The following attributes are defined: |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
XXX |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 AUTHOR |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Peter J. Scott, C<< <cpan at psdt.com> >> |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 SEE ALSO |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Toodledo: L<http://www.toodledo.com/>. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Toodledo API documentation: L<http://www.toodledo.com/info/api_doc.php>. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Copyright 2009-2011 Peter J. Scott, all rights reserved. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
51
|
|
|
|
|
|
|
under the same terms as Perl itself. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=cut |
54
|
|
|
|
|
|
|
|