Twilio/TwiML/Voice/Redirect.pm

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