Class: Twilio::TwiML::AiSession

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

Overview

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

Returns a new instance of AiSession.

Yields:

  • (_self)

Yield Parameters:



2066
2067
2068
2069
2070
2071
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 2066

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

  yield(self) if block_given?
end