Class: Twilio::TwiML::SsmlBreak

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

Overview

Adding a Pause 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(**keyword_args) {|_self| ... } ⇒ SsmlBreak

Returns a new instance of SsmlBreak.

Yields:

  • (_self)

Yield Parameters:


727
728
729
730
731
732
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 727

def initialize(**keyword_args)
  super(**keyword_args)
  @name = 'break'

  yield(self) if block_given?
end