Twilio/Rest/Content/V2.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 3 / 3 totaltotal 100% 29 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Twilio/Rest/Content/V1/Content/ApprovalCreate.pm ↑ Summary Twilio/Rest/Conversations.pm »
1 # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file.
2 package Twilio::Rest::Content::V2;
3  
4 2 ▶use 5.016;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 2 ▶use parent 'Twilio::Version';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 our $VERSION = '2.001';
10  
11 2 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
12 2 my ($class, $domain) = @_;
13 2 my $self = $class->SUPER::new($domain);
14 2 $self->{version} = 'v2';
15 2 return $self;
16 }
17  
18 # Each of these objects is built on demand, for the reason given in Twilio::Rest::Client.
19 1 ▶sub contents {
Subroutine contents: called CC=1 SCAR=0.0
Pod documented
20 1 my ($self) = @_;
21 1 require Twilio::Rest::Content::V2::Content;
22 1 return Twilio::Rest::Content::V2::ContentList->new($self);
23 }
24  
25 1 ▶sub content_and_approvals {
Subroutine content_and_approvals: called CC=1 SCAR=0.0
Pod documented
26 1 my ($self) = @_;
27 1 require Twilio::Rest::Content::V2::ContentAndApprovals;
28 1 return Twilio::Rest::Content::V2::ContentAndApprovalsList->new($self);
29 }
30  
31 2 1;
32  
33 __END__
« Twilio/Rest/Content/V1/Content/ApprovalCreate.pm ↑ Summary Twilio/Rest/Conversations.pm »