File Coverage

lib/WebService/Intercom/Admin.pm
Criterion Covered Total %
statement 61 61 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 65 65 100.0


line stmt bran cond sub pod time code
1 2     2   9 use Moops -strict;
  2         4  
  2         13  
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   5766 class WebService::Intercom::Admin types WebService::Intercom::Types {
  2     2   58  
  2     2   24  
  2         3  
  2         127  
  2         10  
  2         3  
  2         16  
  2         598  
  2         5  
  2         12  
  2         114  
  2         3  
  2         135  
  2         9  
  2         3  
  2         163  
  2         60  
  2         10  
  2         3  
  2         14  
  2         11759  
  2         4  
  2         17  
  2         822  
  2         3  
  2         16  
  2         289  
  2         4  
  2         20  
  2         143  
  2         4  
  2         12  
  2         402  
  2         5  
  2         18  
  2         1784  
  2         4  
  2         13  
  2         6929  
  2         6  
  2         79  
  2         7  
  2         3  
  2         74  
  2         9  
  2         5  
  2         98  
  2         7  
  2         4  
  2         278  
  2         17  
  2         7186  
38 2         50 has 'type' => (is => 'ro');
39 2         1290 has 'id' => (is => 'ro');
40 2         543 has 'name' => (is => 'ro');
41 2         582 has 'email' => (is => 'ro');
42 2         563 has 'intercom' => (is => 'ro');
43             };
44              
45             1;