Twilio/Rest/PreviewIam/Versionless.pm

filter: Statementstmt 100% 18 / 18 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 2 / 2 totaltotal 96.3% 26 / 27 CC 2 SCAR 2.9
CC
2
Cov
95%
organization
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Twilio/Rest/Lookups/V1.pm ↑ Summary Twilio/Rest/Iam/V1.pm »
1 # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file.
2 package Twilio::Rest::PreviewIam::Versionless;
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 15 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
12 15 my ($class, $domain) = @_;
13 15 my $self = $class->SUPER::new($domain);
14 15 $self->{version} = '';
15 15 return $self;
16 }
17  
18 # Each of these objects is built on demand, for the reason given in Twilio::Rest::Client.
19 15 ▶sub organization {
Subroutine organization: called CC=2 SCAR=7.0
Pod documented
20 15 my ($self, $organization_sid) = @_;
21 15 require Twilio::Rest::PreviewIam::Versionless::Organization;
22 15 my $list = Twilio::Rest::PreviewIam::Versionless::OrganizationList->new($self);
23 15 ▶ return defined $organization_sid ? $list->get_context($organization_sid) : $list;
Branch: 1 branch
BranchTrueFalseTotal
defined $organization_sid ? : 15 0 15
24 }
25  
26 3 1;
27  
28 __END__
« Twilio/Rest/Lookups/V1.pm ↑ Summary Twilio/Rest/Iam/V1.pm »