lib/twilio-ruby/twiml/voice_response.rb in twilio-ruby-5.11.0 vs lib/twilio-ruby/twiml/voice_response.rb in twilio-ruby-5.11.1
- old
+ new
@@ -304,98 +304,98 @@
##
# Improving Pronunciation by Specifying Parts of Speech in <Say>
class SsmlW < TwiML
def initialize(words, **keyword_args)
super(**keyword_args)
- @name = 'W'
+ @name = 'w'
@value = words
yield(self) if block_given?
end
end
##
# Pronouncing Acronyms and Abbreviations in <Say>
class SsmlSub < TwiML
def initialize(words, **keyword_args)
super(**keyword_args)
- @name = 'Sub'
+ @name = 'sub'
@value = words
yield(self) if block_given?
end
end
##
# Controlling How Special Types of Words Are Spoken in <Say>
class SsmlSayAs < TwiML
def initialize(words, **keyword_args)
super(**keyword_args)
- @name = 'Say-As'
+ @name = 'say-as'
@value = words
yield(self) if block_given?
end
end
##
# Adding A Pause Between Sentences in <Say>
class SsmlS < TwiML
def initialize(words, **keyword_args)
super(**keyword_args)
- @name = 'S'
+ @name = 's'
@value = words
yield(self) if block_given?
end
end
##
# Controling Volume, Speaking Rate, and Pitch in <Say>
class SsmlProsody < TwiML
def initialize(words, **keyword_args)
super(**keyword_args)
- @name = 'Prosody'
+ @name = 'prosody'
@value = words
yield(self) if block_given?
end
end
##
# Using Phonetic Pronunciation in <Say>
class SsmlPhoneme < TwiML
def initialize(words, **keyword_args)
super(**keyword_args)
- @name = 'Phoneme'
+ @name = 'phoneme'
@value = words
yield(self) if block_given?
end
end
##
# Adding a Pause Between Paragraphs in <Say>
class SsmlP < TwiML
def initialize(words, **keyword_args)
super(**keyword_args)
- @name = 'P'
+ @name = 'p'
@value = words
yield(self) if block_given?
end
end
##
# Emphasizing Words in <Say>
class SsmlEmphasis < TwiML
def initialize(words, **keyword_args)
super(**keyword_args)
- @name = 'Emphasis'
+ @name = 'emphasis'
@value = words
yield(self) if block_given?
end
end
##
# Adding a Pause in <Say>
class SsmlBreak < TwiML
def initialize(**keyword_args)
super(**keyword_args)
- @name = 'Break'
+ @name = 'break'
yield(self) if block_given?
end
end
\ No newline at end of file