Class: Twilio::TwiML::Conversation

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

Overview

<Conversation> TwiML Noun

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

Returns a new instance of Conversation.

Yields:

  • (_self)

Yield Parameters:



2098
2099
2100
2101
2102
2103
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 2098

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

  yield(self) if block_given?
end