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   8 use Moops -strict;
  2         3  
  2         18  
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   6001 class WebService::Intercom::Admin types WebService::Intercom::Types {
  2     2   49  
  2     2   13  
  2         2  
  2         151  
  2         10  
  2         4  
  2         17  
  2         565  
  2         3  
  2         12  
  2         118  
  2         4  
  2         91  
  2         9  
  2         3  
  2         189  
  2         74  
  2         12  
  2         3  
  2         16  
  2         11745  
  2         5  
  2         17  
  2         1133  
  2         3  
  2         15  
  2         273  
  2         5  
  2         19  
  2         150  
  2         4  
  2         14  
  2         401  
  2         3  
  2         16  
  2         1733  
  2         4  
  2         16  
  2         6874  
  2         6  
  2         77  
  2         18  
  2         3  
  2         67  
  2         9  
  2         3  
  2         87  
  2         7  
  2         4  
  2         265  
  2         20  
  2         7513  
38 2         57 has 'type' => (is => 'ro');
39 2         1385 has 'id' => (is => 'ro');
40 2         506 has 'name' => (is => 'ro');
41 2         569 has 'email' => (is => 'ro');
42 2         590 has 'intercom' => (is => 'ro');
43             };
44              
45             1;