Class: Punchblock::Ref
- Defined in:
- lib/punchblock/ref.rb
Overview
An rayo Ref message. This provides the command ID in response to execution of a command.
Instance Attribute Summary
Attributes inherited from RayoNode
#call_id, #client, #component_id, #connection, #original_component
Instance Method Summary collapse
-
#id ⇒ String
The command ID.
- #id=(ref_id) ⇒ Object
-
#inspect_attributes ⇒ Object
:nodoc:.
Methods inherited from RayoNode
class_from_registration, #eql?, import, #inspect, new, register, #source
Instance Method Details
#id ⇒ String
Returns the command ID.
11 12 13 |
# File 'lib/punchblock/ref.rb', line 11 def id read_attr :id end |
#id=(ref_id) ⇒ Object
18 19 20 |
# File 'lib/punchblock/ref.rb', line 18 def id=(ref_id) write_attr :id, ref_id end |
#inspect_attributes ⇒ Object
:nodoc:
22 23 24 |
# File 'lib/punchblock/ref.rb', line 22 def inspect_attributes # :nodoc: [:id] + super end |