Class: Twilio::TwiML::SsmlPhoneme
- Defined in:
- lib/twilio-ruby/twiml/voice_response.rb
Overview
Using Phonetic Pronunciation in <Say>
Instance Attribute Summary
Attributes inherited from TwiML
Instance Method Summary collapse
-
#initialize(words, **keyword_args) {|_self| ... } ⇒ SsmlPhoneme
constructor
A new instance of SsmlPhoneme.
Methods inherited from TwiML
#add_child, #add_text, #append, #comment, to_lower_camel_case, #to_s, #xml
Constructor Details
#initialize(words, **keyword_args) {|_self| ... } ⇒ SsmlPhoneme
Returns a new instance of SsmlPhoneme.
1064 1065 1066 1067 1068 1069 |
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1064 def initialize(words, **keyword_args) super(**keyword_args) @name = 'phoneme' @value = words yield(self) if block_given? end |