Twilio/Rest/Accounts/V1.pm

filter: Statementstmt 100% 35 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 11 / 11 Podpod 100% 8 / 8 totaltotal 100% 54 / 54 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Twilio/Rest/Accounts.pm ↑ Summary Twilio/Rest/Accounts/V1/BulkConsents.pm »
1 # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file.
2 package Twilio::Rest::Accounts::V1;
3  
4 3 ▶use 5.016;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 ▶use parent 'Twilio::Version';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 3 our $VERSION = '2.001';
10  
11 23 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
12 23 my ($class, $domain) = @_;
13 23 my $self = $class->SUPER::new($domain);
14 23 $self->{version} = 'v1';
15 23 return $self;
16 }
17  
18 # Each of these objects is built on demand, for the reason given in Twilio::Rest::Client.
19 1 ▶sub auth_token_promotion {
Subroutine auth_token_promotion: called CC=1 SCAR=0.0
Pod documented
20 1 my ($self) = @_;
21 1 require Twilio::Rest::Accounts::V1::AuthTokenPromotion;
22 1 return Twilio::Rest::Accounts::V1::AuthTokenPromotionContext->new($self);
23 }
24  
25 1 ▶sub bulk_consents {
Subroutine bulk_consents: called CC=1 SCAR=0.0
Pod documented
26 1 my ($self) = @_;
27 1 require Twilio::Rest::Accounts::V1::BulkConsents;
28 1 return Twilio::Rest::Accounts::V1::BulkConsentsList->new($self);
29 }
30  
31 1 ▶sub bulk_contacts {
Subroutine bulk_contacts: called CC=1 SCAR=0.0
Pod documented
32 1 my ($self) = @_;
33 1 require Twilio::Rest::Accounts::V1::BulkContacts;
34 1 return Twilio::Rest::Accounts::V1::BulkContactsList->new($self);
35 }
36  
37 10 ▶sub credentials {
Subroutine credentials: called CC=1 SCAR=0.0
Pod documented
38 10 my ($self) = @_;
39 10 require Twilio::Rest::Accounts::V1::Credential;
40 10 return Twilio::Rest::Accounts::V1::CredentialList->new($self);
41 }
42  
43 3 ▶sub messaging_geopermissions {
Subroutine messaging_geopermissions: called CC=1 SCAR=0.0
Pod documented
44 3 my ($self) = @_;
45 3 require Twilio::Rest::Accounts::V1::MessagingGeopermissions;
46 3 return Twilio::Rest::Accounts::V1::MessagingGeopermissionsList->new($self);
47 }
48  
49 4 ▶sub safelist {
Subroutine safelist: called CC=1 SCAR=0.0
Pod documented
50 4 my ($self) = @_;
51 4 require Twilio::Rest::Accounts::V1::Safelist;
52 4 return Twilio::Rest::Accounts::V1::SafelistList->new($self);
53 }
54  
55 3 ▶sub secondary_auth_token {
Subroutine secondary_auth_token: called CC=1 SCAR=0.0
Pod documented
56 3 my ($self) = @_;
57 3 require Twilio::Rest::Accounts::V1::SecondaryAuthToken;
58 3 return Twilio::Rest::Accounts::V1::SecondaryAuthTokenContext->new($self);
59 }
60  
61 3 1;
62  
63 __END__
« Twilio/Rest/Accounts.pm ↑ Summary Twilio/Rest/Accounts/V1/BulkConsents.pm »