Twilio/Rest/Api/V2010.pm

filter: Statementstmt 68.1% 47 / 69 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 63.3% 19 / 30 Podpod 100% 27 / 27 totaltotal 74.2% 95 / 128 CC 2 SCAR 3.5
CC
2
Cov
69%
accounts
2.0
addresses
2.0
applications
2.0
CRAP 1.4
« Twilio/Rest/Memory/V1/Profile.pm ↑ Summary Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle.pm »
1 # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file.
2 package Twilio::Rest::Api::V2010;
3  
4 12 ▶use 5.016;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 12 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 12 ▶use parent 'Twilio::Version';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 12 our $VERSION = '2.001';
10  
11 316 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
12 316 my ($class, $domain) = @_;
13 316 my $self = $class->SUPER::new($domain);
14 316 $self->{version} = '2010-04-01';
15 316 return $self;
16 }
17  
18 # Each of these objects is built on demand, for the reason given in Twilio::Rest::Client.
19 203 ▶sub accounts {
Subroutine accounts: called CC=2 SCAR=6.9
Pod documented
20 203 my ($self, $sid) = @_;
21 203 require Twilio::Rest::Api::V2010::Account;
22 203 my $list = Twilio::Rest::Api::V2010::AccountList->new($self);
23 203 ▶ return defined $sid ? $list->get_context($sid) : $list;
Branch: 1 branch
BranchTrueFalseTotal
defined $sid ? : 200 3 203
24 }
25  
26 114 ▶sub account {
Subroutine account: called CC=1 SCAR=0.0
Pod documented
27 114 my ($self) = @_;
28 114 require Twilio::Rest::Api::V2010::Account;
29 114 return Twilio::Rest::Api::V2010::AccountContext->new($self,
30 $self->get_domain->get_client->get_account_sid);
31 }
32  
33 0 ▶sub addresses {
Subroutine addresses: not called CC=1 SCAR=6.9
Pod documented
34 0 my ($self, @arguments) = @_;
35 0 return $self->account->addresses(@arguments);
36 }
37  
38 0 ▶sub applications {
Subroutine applications: not called CC=1 SCAR=6.9
Pod documented
39 0 my ($self, @arguments) = @_;
40 0 return $self->account->applications(@arguments);
41 }
42  
43 0 ▶sub authorized_connect_apps {
Subroutine authorized_connect_apps: not called CC=1 SCAR=6.9
Pod documented
44 0 my ($self, @arguments) = @_;
45 0 return $self->account->authorized_connect_apps(@arguments);
46 }
47  
48 1 ▶sub available_phone_numbers {
Subroutine available_phone_numbers: called CC=1 SCAR=0.0
Pod documented
49 1 my ($self, @arguments) = @_;
50 1 return $self->account->available_phone_numbers(@arguments);
51 }
52  
53 1 ▶sub balance {
Subroutine balance: called CC=1 SCAR=0.0
Pod documented
54 1 my ($self, @arguments) = @_;
55 1 return $self->account->balance(@arguments);
56 }
57  
58 13 ▶sub calls {
Subroutine calls: called CC=1 SCAR=0.0
Pod documented
59 13 my ($self, @arguments) = @_;
60 13 return $self->account->calls(@arguments);
61 }
62  
63 1 ▶sub conferences {
Subroutine conferences: called CC=1 SCAR=0.0
Pod documented
64 1 my ($self, @arguments) = @_;
65 1 return $self->account->conferences(@arguments);
66 }
67  
68 0 ▶sub connect_apps {
Subroutine connect_apps: not called CC=1 SCAR=6.9
Pod documented
69 0 my ($self, @arguments) = @_;
70 0 return $self->account->connect_apps(@arguments);
71 }
72  
73 2 ▶sub incoming_phone_numbers {
Subroutine incoming_phone_numbers: called CC=1 SCAR=0.0
Pod documented
74 2 my ($self, @arguments) = @_;
75 2 return $self->account->incoming_phone_numbers(@arguments);
76 }
77  
78 2 ▶sub keys {
Subroutine keys: called CC=1 SCAR=0.0
Pod documented
79 2 my ($self, @arguments) = @_;
80 2 return $self->account->keys(@arguments);
81 }
82  
83 74 ▶sub messages {
Subroutine messages: called CC=1 SCAR=0.0
Pod documented
84 74 my ($self, @arguments) = @_;
85 74 return $self->account->messages(@arguments);
86 }
87  
88 2 ▶sub new_keys {
Subroutine new_keys: called CC=1 SCAR=0.0
Pod documented
89 2 my ($self, @arguments) = @_;
90 2 return $self->account->new_keys(@arguments);
91 }
92  
93 0 ▶sub new_signing_keys {
Subroutine new_signing_keys: not called CC=1 SCAR=6.9
Pod documented
94 0 my ($self, @arguments) = @_;
95 0 return $self->account->new_signing_keys(@arguments);
96 }
97  
98 2 ▶sub notifications {
Subroutine notifications: called CC=1 SCAR=0.0
Pod documented
99 2 my ($self, @arguments) = @_;
100 2 return $self->account->notifications(@arguments);
101 }
102  
103 0 ▶sub outgoing_caller_ids {
Subroutine outgoing_caller_ids: not called CC=1 SCAR=6.9
Pod documented
104 0 my ($self, @arguments) = @_;
105 0 return $self->account->outgoing_caller_ids(@arguments);
106 }
107  
108 0 ▶sub queues {
Subroutine queues: not called CC=1 SCAR=6.9
Pod documented
109 0 my ($self, @arguments) = @_;
110 0 return $self->account->queues(@arguments);
111 }
112  
113 5 ▶sub recordings {
Subroutine recordings: called CC=1 SCAR=0.0
Pod documented
114 5 my ($self, @arguments) = @_;
115 5 return $self->account->recordings(@arguments);
116 }
117  
118 0 ▶sub short_codes {
Subroutine short_codes: not called CC=1 SCAR=6.9
Pod documented
119 0 my ($self, @arguments) = @_;
120 0 return $self->account->short_codes(@arguments);
121 }
122  
123 0 ▶sub signing_keys {
Subroutine signing_keys: not called CC=1 SCAR=6.9
Pod documented
124 0 my ($self, @arguments) = @_;
125 0 return $self->account->signing_keys(@arguments);
126 }
127  
128 1 ▶sub sip {
Subroutine sip: called CC=1 SCAR=0.0
Pod documented
129 1 my ($self, @arguments) = @_;
130 1 return $self->account->sip(@arguments);
131 }
132  
133 0 ▶sub tokens {
Subroutine tokens: not called CC=1 SCAR=6.9
Pod documented
134 0 my ($self, @arguments) = @_;
135 0 return $self->account->tokens(@arguments);
136 }
137  
138 0 ▶sub transcriptions {
Subroutine transcriptions: not called CC=1 SCAR=6.9
Pod documented
139 0 my ($self, @arguments) = @_;
140 0 return $self->account->transcriptions(@arguments);
141 }
142  
143 4 ▶sub usage {
Subroutine usage: called CC=1 SCAR=0.0
Pod documented
144 4 my ($self, @arguments) = @_;
145 4 return $self->account->usage(@arguments);
146 }
147  
148 1 ▶sub validation_requests {
Subroutine validation_requests: called CC=1 SCAR=0.0
Pod documented
149 1 my ($self, @arguments) = @_;
150 1 return $self->account->validation_requests(@arguments);
151 }
152  
153 12 1;
154  
155 __END__
« Twilio/Rest/Memory/V1/Profile.pm ↑ Summary Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle.pm »