Twilio/Rest/Bulkexports/V1.pm

filter: Statementstmt 100% 21 / 21 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 3 / 3 totaltotal 100% 32 / 32 CC 2 SCAR 2.5
CC
2
Cov
100%
exports
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeRegistrations.pm ↑ Summary Twilio/Rest/Pricing/V1/Messaging.pm »
1 # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file.
2 package Twilio::Rest::Bulkexports::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 10 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
12 10 my ($class, $domain) = @_;
13 10 my $self = $class->SUPER::new($domain);
14 10 $self->{version} = 'v1';
15 10 return $self;
16 }
17  
18 # Each of these objects is built on demand, for the reason given in Twilio::Rest::Client.
19 7 ▶sub exports {
Subroutine exports: called CC=2 SCAR=6.9
Pod documented
20 7 my ($self, $resource_type) = @_;
21 7 require Twilio::Rest::Bulkexports::V1::Export;
22 7 my $list = Twilio::Rest::Bulkexports::V1::ExportList->new($self);
23 7 ▶ return defined $resource_type ? $list->get_context($resource_type) : $list;
Branch: 1 branch
BranchTrueFalseTotal
defined $resource_type ? : 5 2 7
24 }
25  
26 3 ▶sub export_configuration {
Subroutine export_configuration: called CC=1 SCAR=0.0
Pod documented
27 3 my ($self, $resource_type) = @_;
28 3 require Twilio::Rest::Bulkexports::V1::ExportConfiguration;
29 3 return Twilio::Rest::Bulkexports::V1::ExportConfigurationContext->new($self, $resource_type);
30 }
31  
32 3 1;
33  
34 __END__
« Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypes/AuthTypeRegistrations.pm ↑ Summary Twilio/Rest/Pricing/V1/Messaging.pm »