Class: Punchblock::Ref
Overview
An rayo Ref message. This provides the command ID in response to execution of a command.
Instance Attribute Summary
Attributes inherited from RayoNode
#client, #component_id, #connection, #domain, #original_component, #target_call_id, #target_mixer_name
Class Method Summary (collapse)
Instance Method Summary (collapse)
-
- (String) id
The command ID.
- - (Object) id=(ref_id)
-
- (Object) inspect_attributes
:nodoc:.
Methods inherited from RayoNode
class_from_registration, #eql?, import, #inspect, register, #source
Class Method Details
+ (Object) new(options = {})
10 11 12 13 14 |
# File 'lib/punchblock/ref.rb', line 10 def self.new( = {}) super().tap do |new_node| .each_pair { |k,v| new_node.send :#{k}=", v } end end |
Instance Method Details
- (String) id
The command ID
19 20 21 |
# File 'lib/punchblock/ref.rb', line 19 def id read_attr :id end |
- (Object) id=(ref_id)
26 27 28 |
# File 'lib/punchblock/ref.rb', line 26 def id=(ref_id) write_attr :id, ref_id end |
- (Object) inspect_attributes
:nodoc:
30 31 32 |
# File 'lib/punchblock/ref.rb', line 30 def inspect_attributes # :nodoc: [:id] + super end |