line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package WWW::Kickstarter::Data::Reward; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
6
|
1
|
|
|
1
|
|
4
|
no autovivification; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
45
|
use WWW::Kickstarter::Data qw( ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
17
|
|
10
|
1
|
|
|
1
|
|
5
|
use WWW::Kickstarter::Error qw( my_croak ); |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
273
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our @ISA = 'WWW::Kickstarter::Data'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
0
|
|
|
0
|
1
|
|
sub id { $_[0]{id} } |
17
|
0
|
|
|
0
|
1
|
|
sub project_id { $_[0]{project_id} } |
18
|
0
|
|
|
0
|
1
|
|
sub text { $_[0]{reward} } |
19
|
0
|
|
|
0
|
1
|
|
sub min_pledge { $_[0]{minimum} } |
20
|
0
|
|
|
0
|
1
|
|
sub max_backers { $_[0]{limit} } |
21
|
0
|
|
|
0
|
1
|
|
sub backers_count { $_[0]{backers_count} } |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
#sub refetch { my $self = shift; return $self->ks->reward($self->id, @_); } |
25
|
0
|
|
|
0
|
1
|
|
sub project { my $self = shift; return $self->ks->project($self->project_id, @_); } |
|
0
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |