Class: Adhearsion::Rayo::Component::Asterisk::AGI::Command

Inherits:
ComponentNode show all
Defined in:
lib/adhearsion/rayo/component/asterisk/agi/command.rb

Defined Under Namespace

Classes: Complete

Instance Attribute Summary

Attributes inherited from RayoNode

#client, #connection, #original_component

Instance Method Summary collapse

Methods inherited from ComponentNode

#add_event, #complete_event, #complete_event=, #initialize, #register_event_handler, #register_internal_handlers, #response=, #stop!, #stop_action, #trigger_event_handler, #write_action

Methods inherited from Adhearsion::Rayo::CommandNode

#initialize, #response, #response=

Methods inherited from RayoNode

#==, class_from_registration, from_xml, #inspect, #rayo_attributes, #rayo_children, register, #source, #to_rayo, #to_xml

Constructor Details

This class inherits a constructor from Adhearsion::Rayo::Component::ComponentNode

Instance Method Details

#inherit(xml_node) ⇒ Object



17
18
19
20
21
22
# File 'lib/adhearsion/rayo/component/asterisk/agi/command.rb', line 17

def inherit(xml_node)
  xml_node.xpath('//ns:param', ns: self.class.registered_ns).to_a.each do |param|
    params << param[:value]
  end
  super
end