line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
8
|
use Moops -strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: represents an admin |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=pod |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
WebService::Intercom::Admin - represent an admin |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 SYNOPSIS |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my $admins = $intercom->get_admins(); |
14
|
|
|
|
|
|
|
my $first_admin = $admins->[0]; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head2 ATTRIBUTES |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Attributes are defined at L<http://doc.intercom.io/api/#admins> |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=over |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=item type |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=item id |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=item name |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=item email |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item intercom - the WebService::Intercom object that created this user object |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=back |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
2
|
|
|
2
|
|
5548
|
class WebService::Intercom::Admin types WebService::Intercom::Types { |
|
2
|
|
|
2
|
|
50
|
|
|
2
|
|
|
2
|
|
12
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
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
1204
|
has 'id' => (is => 'ro'); |
40
|
2
|
|
|
|
|
565
|
has 'name' => (is => 'ro'); |
41
|
2
|
|
|
|
|
503
|
has 'email' => (is => 'ro'); |
42
|
2
|
|
|
|
|
525
|
has 'intercom' => (is => 'ro'); |
43
|
|
|
|
|
|
|
}; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |