Class: Punchblock::Event::Complete::Reason

Inherits:
Punchblock::Event show all
Defined in:
lib/punchblock/event/complete.rb

Direct Known Subclasses

Component::Asterisk::AGI::Command::Complete::Success, Component::Asterisk::AMI::Action::Complete::Success, Component::Input::Complete::Match, Component::Input::Complete::NoInput, Component::Input::Complete::NoMatch, Component::Input::Signal, Component::Output::Complete::Finish, Component::Output::Complete::MaxTime, Component::ReceiveFax::Complete::Finish, Component::Record::Complete::FinalTimeout, Component::Record::Complete::InitialTimeout, Component::Record::Complete::MaxDuration, Error, Hangup, Stop

Instance Attribute Summary

Attributes inherited from RayoNode

#client, #connection, #original_component

Instance Method Summary (collapse)

Methods inherited from RayoNode

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

Instance Method Details

- (Object) inherit(xml_node)



47
48
49
50
# File 'lib/punchblock/event/complete.rb', line 47

def inherit(xml_node)
  self.name = xml_node.name.to_sym
  super
end