Twilio/TwiML/Voice/Say.pm

filter: Statementstmt 100% 50 / 50 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 18 / 18 Podpod 100% 15 / 15 totaltotal 100% 83 / 83 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Twilio/TwiML/Voice/Room.pm ↑ Summary Twilio/TwiML/Voice/Sim.pm »
1 # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file.
2 package Twilio::TwiML::Voice::Say;
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 = (
12 'language' => { name => 'language' },
13 'loop' => { name => 'loop' },
14 'voice' => { name => 'voice' },
15 );
16  
17 17 ▶sub attribute_table { return \%ATTRIBUTES }
Subroutine attribute_table: called CC=1 SCAR=0.0
Pod documented
18  
19 16 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
20 16 my ($class, $message, $attributes) = @_;
21 16 return $class->SUPER::new('Say', $message, $attributes);
22 }
23  
24 3 ▶sub break {
Subroutine break: called CC=1 SCAR=0.0
Pod documented
25 3 my ($self, $attributes) = @_;
26 3 require Twilio::TwiML::Voice::SsmlBreak;
27 3 return $self->nest(Twilio::TwiML::Voice::SsmlBreak->new($attributes));
28 }
29  
30 2 ▶sub emphasis {
Subroutine emphasis: called CC=1 SCAR=0.0
Pod documented
31 2 my ($self, $words, $attributes) = @_;
32 2 require Twilio::TwiML::Voice::SsmlEmphasis;
33 2 return $self->nest(Twilio::TwiML::Voice::SsmlEmphasis->new($words, $attributes));
34 }
35  
36 3 ▶sub lang {
Subroutine lang: called CC=1 SCAR=0.0
Pod documented
37 3 my ($self, $words, $attributes) = @_;
38 3 require Twilio::TwiML::Voice::SsmlLang;
39 3 return $self->nest(Twilio::TwiML::Voice::SsmlLang->new($words, $attributes));
40 }
41  
42 2 ▶sub p {
Subroutine p: called CC=1 SCAR=0.0
Pod documented
43 2 my ($self, $words) = @_;
44 2 require Twilio::TwiML::Voice::SsmlP;
45 2 return $self->nest(Twilio::TwiML::Voice::SsmlP->new($words));
46 }
47  
48 2 ▶sub phoneme {
Subroutine phoneme: called CC=1 SCAR=0.0
Pod documented
49 2 my ($self, $words, $attributes) = @_;
50 2 require Twilio::TwiML::Voice::SsmlPhoneme;
51 2 return $self->nest(Twilio::TwiML::Voice::SsmlPhoneme->new($words, $attributes));
52 }
53  
54 2 ▶sub prosody {
Subroutine prosody: called CC=1 SCAR=0.0
Pod documented
55 2 my ($self, $words, $attributes) = @_;
56 2 require Twilio::TwiML::Voice::SsmlProsody;
57 2 return $self->nest(Twilio::TwiML::Voice::SsmlProsody->new($words, $attributes));
58 }
59  
60 2 ▶sub s {
Subroutine s: called CC=1 SCAR=0.0
Pod documented
61 2 my ($self, $words) = @_;
62 2 require Twilio::TwiML::Voice::SsmlS;
63 2 return $self->nest(Twilio::TwiML::Voice::SsmlS->new($words));
64 }
65  
66 3 ▶sub say_as {
Subroutine say_as: called CC=1 SCAR=0.0
Pod documented
67 3 my ($self, $words, $attributes) = @_;
68 3 require Twilio::TwiML::Voice::SsmlSayAs;
69 3 return $self->nest(Twilio::TwiML::Voice::SsmlSayAs->new($words, $attributes));
70 }
71  
72 2 ▶sub sub {
Subroutine sub: called CC=1 SCAR=0.0
Pod documented
73 2 my ($self, $words, $attributes) = @_;
74 2 require Twilio::TwiML::Voice::SsmlSub;
75 2 return $self->nest(Twilio::TwiML::Voice::SsmlSub->new($words, $attributes));
76 }
77  
78 2 ▶sub w {
Subroutine w: called CC=1 SCAR=0.0
Pod documented
79 2 my ($self, $words, $attributes) = @_;
80 2 require Twilio::TwiML::Voice::SsmlW;
81 2 return $self->nest(Twilio::TwiML::Voice::SsmlW->new($words, $attributes));
82 }
83  
84 1 ▶sub set_language {
Subroutine set_language: called CC=1 SCAR=0.0
Pod documented
85 1 my ($self, $value) = @_;
86 1 return $self->set_attribute('language', $value);
87 }
88  
89 2 ▶sub set_loop {
Subroutine set_loop: called CC=1 SCAR=0.0
Pod documented
90 2 my ($self, $value) = @_;
91 2 return $self->set_attribute('loop', $value);
92 }
93  
94 1 ▶sub set_voice {
Subroutine set_voice: called CC=1 SCAR=0.0
Pod documented
95 1 my ($self, $value) = @_;
96 1 return $self->set_attribute('voice', $value);
97 }
98  
99 3 1;
100  
101 __END__
« Twilio/TwiML/Voice/Room.pm ↑ Summary Twilio/TwiML/Voice/Sim.pm »