Class: Twilio::TwiML::GenericNode

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

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(name, value, **keyword_args) ⇒ GenericNode

Returns a new instance of GenericNode.



119
120
121
122
123
# File 'lib/twilio-ruby/twiml/twiml.rb', line 119

def initialize(name, value, **keyword_args)
  super(**keyword_args)
  @name = name
  @value = value
end