Class: Punchblock::Component::Asterisk::AGI::Command::Param
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)
-
- (Object) inspect_attributes
:nodoc:.
-
- (String) value
The Header's value.
-
- (Object) value=(value)
Set the Header's value.
Methods inherited from RayoNode
class_from_registration, #eql?, import, #inspect, register, #source
Class Method Details
+ (Object) new(value)
57 58 59 60 61 62 63 64 65 66 |
# File 'lib/punchblock/component/asterisk/agi/command.rb', line 57 def self.new(value) super(:param).tap do |new_node| case value when Nokogiri::XML::Node new_node.inherit value else new_node.value = value end end end |
Instance Method Details
- (Object) inspect_attributes
:nodoc:
80 81 82 |
# File 'lib/punchblock/component/asterisk/agi/command.rb', line 80 def inspect_attributes # :nodoc: [:value] + super end |
- (String) value
The Header's value
70 71 72 |
# File 'lib/punchblock/component/asterisk/agi/command.rb', line 70 def value read_attr :value end |
- (Object) value=(value)
Set the Header's value
76 77 78 |
# File 'lib/punchblock/component/asterisk/agi/command.rb', line 76 def value=(value) write_attr :value, value end |