line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WWW::Giraffi::API::Region; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
36
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
6
|
use parent qw(WWW::Giraffi::API::Request); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
6
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.2_04'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub all { |
11
|
|
|
|
|
|
|
|
12
|
0
|
|
|
0
|
1
|
|
my ( $self, $other_options ) = @_; |
13
|
0
|
|
|
|
|
|
return $self->get( "regions.json", undef, $other_options ); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
#sub search { |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
# my ( $self, $conditions ) = @_; |
19
|
|
|
|
|
|
|
# return $self->get( "regions.json", $conditions ); |
20
|
|
|
|
|
|
|
#} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
#sub find { |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# my ( $self, $id ) = @_; |
25
|
|
|
|
|
|
|
# return $self->get( sprintf( "regions/%s.json", $id ) ); |
26
|
|
|
|
|
|
|
#} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |