Class: Twilio::TwiML::SsmlS

Inherits:
TwiML
  • Object
show all
Defined in:
lib/twilio-ruby/twiml/voice_response.rb

Overview

Adding A Pause Between Sentences in <Say>

Instance Attribute Summary

Attributes inherited from TwiML

#name

Instance Method Summary collapse

Methods inherited from TwiML

#add_child, #add_text, #append, #comment, to_lower_camel_case, #to_s, #xml

Constructor Details

#initialize(words, **keyword_args) {|_self| ... } ⇒ SsmlS

Returns a new instance of SsmlS.

Yields:

  • (_self)

Yield Parameters:


661
662
663
664
665
666
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 661

def initialize(words, **keyword_args)
  super(**keyword_args)
  @name = 's'
  @value = words
  yield(self) if block_given?
end