Class: RubyAMI::Event
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(name) ⇒ Event
constructor
A new instance of Event.
Methods inherited from Response
#[], #[]=, #action_id, from_immediate_response, #has_text_body?, #headers
Constructor Details
#initialize(name) ⇒ Event
Returns a new instance of Event.
5 6 7 8 |
# File 'lib/ruby_ami/event.rb', line 5 def initialize(name) super() @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/ruby_ami/event.rb', line 3 def name @name end |