line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WWW::TypePad::Groups; |
2
|
|
|
|
|
|
|
### BEGIN auto-generated |
3
|
|
|
|
|
|
|
### This is an automatically generated code, do not edit! |
4
|
|
|
|
|
|
|
### Scroll down to look for END to add additional methods |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
3
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
35
|
|
7
|
1
|
|
|
1
|
|
3
|
use Any::Moose; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
8
|
|
|
|
|
|
|
extends 'WWW::TypePad::Noun'; |
9
|
|
|
|
|
|
|
|
10
|
0
|
|
|
0
|
0
|
|
sub prefix { '/groups' } |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub get { |
13
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
14
|
0
|
|
|
|
|
|
my $id = shift; |
15
|
0
|
|
|
|
|
|
$api->_get($id); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub memberships { |
19
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
20
|
0
|
|
|
|
|
|
my $id = shift; |
21
|
0
|
|
|
|
|
|
$api->_get($id, 'memberships', undef, undef, @_); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub admin_memberships { |
25
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
26
|
0
|
|
|
|
|
|
my $id = shift; |
27
|
0
|
|
|
|
|
|
$api->_get($id, 'memberships', 'admin', undef, @_); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub member_memberships { |
31
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
32
|
0
|
|
|
|
|
|
my $id = shift; |
33
|
0
|
|
|
|
|
|
$api->_get($id, 'memberships', 'member', undef, @_); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub blocked_memberships { |
37
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
38
|
0
|
|
|
|
|
|
my $id = shift; |
39
|
0
|
|
|
|
|
|
$api->_get($id, 'memberships', 'blocked', undef, @_); |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub events { |
43
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
44
|
0
|
|
|
|
|
|
my $id = shift; |
45
|
0
|
|
|
|
|
|
$api->_get($id, 'events', undef, undef, @_); |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub photo_assets { |
49
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
50
|
0
|
|
|
|
|
|
my $id = shift; |
51
|
0
|
|
|
|
|
|
$api->_get($id, 'photo-assets', undef, undef, @_); |
52
|
|
|
|
|
|
|
} |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
sub new_photo_asset { |
55
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
56
|
0
|
|
|
|
|
|
my $id = shift; |
57
|
0
|
|
|
|
|
|
$api->_post($id, 'photo-assets', undef, undef, @_); |
58
|
|
|
|
|
|
|
} |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
sub video_assets { |
61
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
62
|
0
|
|
|
|
|
|
my $id = shift; |
63
|
0
|
|
|
|
|
|
$api->_get($id, 'video-assets', undef, undef, @_); |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub new_video_asset { |
67
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
68
|
0
|
|
|
|
|
|
my $id = shift; |
69
|
0
|
|
|
|
|
|
$api->_post($id, 'video-assets', undef, undef, @_); |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
sub post_assets { |
73
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
74
|
0
|
|
|
|
|
|
my $id = shift; |
75
|
0
|
|
|
|
|
|
$api->_get($id, 'post-assets', undef, undef, @_); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
sub new_post_asset { |
79
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
80
|
0
|
|
|
|
|
|
my $id = shift; |
81
|
0
|
|
|
|
|
|
$api->_post($id, 'post-assets', undef, undef, @_); |
82
|
|
|
|
|
|
|
} |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
sub link_assets { |
85
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
86
|
0
|
|
|
|
|
|
my $id = shift; |
87
|
0
|
|
|
|
|
|
$api->_get($id, 'link-assets', undef, undef, @_); |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
sub new_link_asset { |
91
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
92
|
0
|
|
|
|
|
|
my $id = shift; |
93
|
0
|
|
|
|
|
|
$api->_post($id, 'link-assets', undef, undef, @_); |
94
|
|
|
|
|
|
|
} |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
### END auto-generated |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
1; |