Twilio/TwiML/Voice/SsmlLang.pm

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