Twilio/TwiML/Voice/Reject.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 4 / 4 totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Twilio/TwiML/Voice/ReferSip.pm ↑ Summary Twilio/TwiML/Voice/Room.pm »
1 # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file.
2 package Twilio::TwiML::Voice::Reject;
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::TwiML::TwiML';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 2 our $VERSION = '2.001';
10  
11 2 my %ATTRIBUTES = ('reason' => { name => 'reason' },);
12  
13 4 ▶sub attribute_table { return \%ATTRIBUTES }
Subroutine attribute_table: called CC=1 SCAR=0.0
Pod documented
14  
15 4 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
16 4 my ($class, $attributes) = @_;
17 4 return $class->SUPER::new('Reject', undef, $attributes);
18 }
19  
20 2 ▶sub parameter {
Subroutine parameter: called CC=1 SCAR=0.0
Pod documented
21 2 my ($self, $attributes) = @_;
22 2 require Twilio::TwiML::Voice::Parameter;
23 2 return $self->nest(Twilio::TwiML::Voice::Parameter->new($attributes));
24 }
25  
26 1 ▶sub set_reason {
Subroutine set_reason: called CC=1 SCAR=0.0
Pod documented
27 1 my ($self, $value) = @_;
28 1 return $self->set_attribute('reason', $value);
29 }
30  
31 2 1;
32  
33 __END__
« Twilio/TwiML/Voice/ReferSip.pm ↑ Summary Twilio/TwiML/Voice/Room.pm »