line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WWW::TypePad::Users; |
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
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
43
|
|
7
|
1
|
|
|
1
|
|
6
|
use Any::Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
11
|
|
8
|
|
|
|
|
|
|
extends 'WWW::TypePad::Noun'; |
9
|
|
|
|
|
|
|
|
10
|
0
|
|
|
0
|
0
|
|
sub prefix { '/users' } |
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 profile { |
19
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
20
|
0
|
|
|
|
|
|
my $id = shift; |
21
|
0
|
|
|
|
|
|
$api->_get($id, 'profile', undef, undef, @_); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub memberships { |
25
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
26
|
0
|
|
|
|
|
|
my $id = shift; |
27
|
0
|
|
|
|
|
|
$api->_get($id, 'memberships', undef, undef, @_); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub admin_memberships { |
31
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
32
|
0
|
|
|
|
|
|
my $id = shift; |
33
|
0
|
|
|
|
|
|
$api->_get($id, 'memberships', 'admin', undef, @_); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub member_memberships { |
37
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
38
|
0
|
|
|
|
|
|
my $id = shift; |
39
|
0
|
|
|
|
|
|
$api->_get($id, 'memberships', 'member', undef, @_); |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub memberships_by_group { |
43
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
44
|
0
|
|
|
|
|
|
my $id = shift; |
45
|
0
|
|
|
|
|
|
$api->_get($id, 'memberships', 'by_group', @_); |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub favorites { |
49
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
50
|
0
|
|
|
|
|
|
my $id = shift; |
51
|
0
|
|
|
|
|
|
$api->_get($id, 'favorites', undef, undef, @_); |
52
|
|
|
|
|
|
|
} |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
sub new_favorite { |
55
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
56
|
0
|
|
|
|
|
|
my $id = shift; |
57
|
0
|
|
|
|
|
|
$api->_post($id, 'favorites', undef, undef, @_); |
58
|
|
|
|
|
|
|
} |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
sub blogs { |
61
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
62
|
0
|
|
|
|
|
|
my $id = shift; |
63
|
0
|
|
|
|
|
|
$api->_get($id, 'blogs', undef, undef, @_); |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub relationships { |
67
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
68
|
0
|
|
|
|
|
|
my $id = shift; |
69
|
0
|
|
|
|
|
|
$api->_get($id, 'relationships', undef, undef, @_); |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
sub follower_relationships { |
73
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
74
|
0
|
|
|
|
|
|
my $id = shift; |
75
|
0
|
|
|
|
|
|
$api->_get($id, 'relationships', 'follower', undef, @_); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
sub relationships_by_group { |
79
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
80
|
0
|
|
|
|
|
|
my $id = shift; |
81
|
0
|
|
|
|
|
|
$api->_get($id, 'relationships', 'by_group', @_); |
82
|
|
|
|
|
|
|
} |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
sub following_relationships { |
85
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
86
|
0
|
|
|
|
|
|
my $id = shift; |
87
|
0
|
|
|
|
|
|
$api->_get($id, 'relationships', 'following', undef, @_); |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
sub elsewhere_accounts { |
91
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
92
|
0
|
|
|
|
|
|
my $id = shift; |
93
|
0
|
|
|
|
|
|
$api->_get($id, 'elsewhere-accounts', undef, undef, ); |
94
|
|
|
|
|
|
|
} |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
sub events { |
97
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
98
|
0
|
|
|
|
|
|
my $id = shift; |
99
|
0
|
|
|
|
|
|
$api->_get($id, 'events', undef, undef, @_); |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
sub events_by_group { |
103
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
104
|
0
|
|
|
|
|
|
my $id = shift; |
105
|
0
|
|
|
|
|
|
$api->_get($id, 'events', 'by_group', @_); |
106
|
|
|
|
|
|
|
} |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
sub notifications { |
109
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
110
|
0
|
|
|
|
|
|
my $id = shift; |
111
|
0
|
|
|
|
|
|
$api->_get($id, 'notifications', undef, undef, @_); |
112
|
|
|
|
|
|
|
} |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
sub notifications_by_group { |
115
|
0
|
|
|
0
|
0
|
|
my $api = shift; |
116
|
0
|
|
|
|
|
|
my $id = shift; |
117
|
0
|
|
|
|
|
|
$api->_get($id, 'notifications', 'by_group', @_); |
118
|
|
|
|
|
|
|
} |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
### END auto-generated |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
# aliases |
127
|
|
|
|
|
|
|
|
128
|
0
|
|
|
0
|
0
|
|
sub followers { shift->follower_relationships(@_) } |
129
|
0
|
|
|
0
|
0
|
|
sub following { shift->following_relationships(@_) } |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
1; |