Class: Adhearsion::Event::End
- Inherits:
-
Adhearsion::Event
- Object
- Rayo::RayoNode
- Adhearsion::Event
- Adhearsion::Event::End
- Includes:
- HasHeaders
- Defined in:
- lib/adhearsion/event/end.rb
Instance Attribute Summary
Attributes inherited from Rayo::RayoNode
#client, #connection, #original_component
Instance Method Summary collapse
Methods included from HasHeaders
Methods inherited from Rayo::RayoNode
#==, class_from_registration, from_xml, #inspect, #rayo_attributes, #rayo_children, register, #source, #to_rayo, #to_xml
Instance Method Details
#inherit(xml_node) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/adhearsion/event/end.rb', line 13 def inherit(xml_node) if reason_node = xml_node.at_xpath('*') self.reason = reason_node.name self.platform_code = reason_node['platform-code'] end super end |