Class: Twilio::TwiML::VirtualAgent

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

Overview

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

Returns a new instance of VirtualAgent.

Yields:

  • (_self)

Yield Parameters:


1178
1179
1180
1181
1182
1183
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1178

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

  yield(self) if block_given?
end