Class: Twilio::TwiML::Autopilot
- Defined in:
- lib/twilio-ruby/twiml/voice_response.rb
Overview
<Autopilot> TwiML Noun
Instance Attribute Summary
Attributes inherited from TwiML
Instance Method Summary collapse
-
#initialize(name, **keyword_args) {|_self| ... } ⇒ Autopilot
constructor
A new instance of Autopilot.
Methods inherited from TwiML
#add_child, #add_text, #append, #comment, to_lower_camel_case, #to_s, #xml
Constructor Details
#initialize(name, **keyword_args) {|_self| ... } ⇒ Autopilot
Returns a new instance of Autopilot.
2138 2139 2140 2141 2142 2143 |
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 2138 def initialize(name, **keyword_args) super(**keyword_args) @name = 'Autopilot' @value = name yield(self) if block_given? end |