Class: Twilio::TwiML::Echo

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

Overview

<Echo> TwiML Verb

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| ... } ⇒ Echo

Returns a new instance of Echo.

Yields:

  • (_self)

Yield Parameters:



1532
1533
1534
1535
1536
1537
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1532

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

  yield(self) if block_given?
end