Class: Punchblock::Event::Info

Inherits:
Punchblock::Event show all
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_nameObject



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_attributesObject

:nodoc:



10
11
12
# File 'lib/punchblock/event/info.rb', line 10

def inspect_attributes # :nodoc:
  [:event_name] + super
end