Twilio/TwiML/Voice/Queue.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 9 / 9 Podpod 100% 6 / 6 totaltotal 100% 37 / 37 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Twilio/TwiML/Voice/Prompt.pm ↑ Summary Twilio/TwiML/Voice/Record.pm »
1 # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file.
2 package Twilio::TwiML::Voice::Queue;
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 = (
12 'method' => { name => 'method' },
13 'post_work_activity_sid' => { name => 'postWorkActivitySid' },
14 'postWorkActivitySid' => { name => 'postWorkActivitySid' },
15 'reservation_sid' => { name => 'reservationSid' },
16 'reservationSid' => { name => 'reservationSid' },
17 'url' => { name => 'url' },
18 );
19  
20 12 ▶sub attribute_table { return \%ATTRIBUTES }
Subroutine attribute_table: called CC=1 SCAR=0.0
Pod documented
21  
22 6 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
23 6 my ($class, $name, $attributes) = @_;
24 6 return $class->SUPER::new('Queue', $name, $attributes);
25 }
26  
27 1 ▶sub set_method {
Subroutine set_method: called CC=1 SCAR=0.0
Pod documented
28 1 my ($self, $value) = @_;
29 1 return $self->set_attribute('method', $value);
30 }
31  
32 1 ▶sub set_post_work_activity_sid {
Subroutine set_post_work_activity_sid: called CC=1 SCAR=0.0
Pod documented
33 1 my ($self, $value) = @_;
34 1 return $self->set_attribute('post_work_activity_sid', $value);
35 }
36  
37 1 ▶sub set_reservation_sid {
Subroutine set_reservation_sid: called CC=1 SCAR=0.0
Pod documented
38 1 my ($self, $value) = @_;
39 1 return $self->set_attribute('reservation_sid', $value);
40 }
41  
42 1 ▶sub set_url {
Subroutine set_url: called CC=1 SCAR=0.0
Pod documented
43 1 my ($self, $value) = @_;
44 1 return $self->set_attribute('url', $value);
45 }
46  
47 2 1;
48  
49 __END__
« Twilio/TwiML/Voice/Prompt.pm ↑ Summary Twilio/TwiML/Voice/Record.pm »