Class: Punchblock::Event::Info
- Inherits:
-
Punchblock::Event
- Object
- Niceogiri::XML::Node
- RayoNode
- Punchblock::Event
- Punchblock::Event::Info
- Defined in:
- lib/punchblock/event/info.rb
Instance Attribute Summary
Attributes inherited from RayoNode
#call_id, #client, #component_id, #connection, #original_component
Instance Method Summary collapse
Methods inherited from RayoNode
class_from_registration, #eql?, import, #inspect, new, register, #source
Instance Method Details
#event_name ⇒ Object
6 7 8 |
# File 'lib/punchblock/event/info.rb', line 6 def event_name children.select { |c| c.is_a? Nokogiri::XML::Element }.first.name.to_sym end |
#inspect_attributes ⇒ Object
:nodoc:
10 11 12 |
# File 'lib/punchblock/event/info.rb', line 10 def inspect_attributes # :nodoc: [:event_name] + super end |