Class: Twilio::TwiML::SsmlSayAs
- Defined in:
- lib/twilio-ruby/twiml/voice_response.rb
Overview
Controlling How Special Types of Words Are Spoken in <Say>
Instance Attribute Summary
Attributes inherited from TwiML
Instance Method Summary collapse
-
#initialize(words, **keyword_args) {|_self| ... } ⇒ SsmlSayAs
constructor
A new instance of SsmlSayAs.
Methods inherited from TwiML
#add_child, #add_text, #append, #comment, to_lower_camel_case, #to_s, #xml
Constructor Details
#initialize(words, **keyword_args) {|_self| ... } ⇒ SsmlSayAs
Returns a new instance of SsmlSayAs.
833 834 835 836 837 838 |
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 833 def initialize(words, **keyword_args) super(**keyword_args) @name = 'say-as' @value = words yield(self) if block_given? end |