line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::Toodledo::GoalRole; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
962
|
use Moose::Role; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
15
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.00'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
has id => ( is => 'rw', isa => 'Int' ); |
8
|
|
|
|
|
|
|
has name => ( is => 'rw', isa => 'Str' ); |
9
|
|
|
|
|
|
|
has level => ( is => 'rw', isa => 'Int' ); |
10
|
|
|
|
|
|
|
has archived => ( is => 'rw', isa => 'Bool' ); |
11
|
|
|
|
|
|
|
has contributes => ( is => 'rw', isa => 'Int' ); |
12
|
|
|
|
|
|
|
has goal => ( is => 'rw', isa => 'Str' ); |
13
|
|
|
|
|
|
|
has note => ( is => 'rw', isa => 'Str' ); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
2
|
|
|
2
|
|
9167
|
no Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
11
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
App::Toodledo::GoalRole - internal attributes of a goal. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
For internal L<App::Toodledo> use only. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 DESCRIPTION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
For internal L<App::Toodledo> use only. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
The attributes of a goal are defined here. They should match |
37
|
|
|
|
|
|
|
what Toodledo publishes in their API. They are: |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 id |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 name |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 level |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 archived |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head2 contributes |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 AUTHOR |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Peter Scott C<cpan at psdt.com> |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=cut |