Class: Punchblock::Component::Output::Seek
- Inherits:
-
Punchblock::CommandNode
- Object
- Niceogiri::XML::Node
- RayoNode
- Punchblock::CommandNode
- Punchblock::Component::Output::Seek
- Defined in:
- lib/punchblock/component/output.rb
Overview
:nodoc:
Constant Summary
Constants inherited from RayoNode
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
Methods inherited from Punchblock::CommandNode
#initialize, #inspect_attributes, #response, #response=, #write_attr
Methods inherited from RayoNode
class_from_registration, #eql?, import, #inspect, #inspect_attributes, register, #source
Constructor Details
This class inherits a constructor from Punchblock::CommandNode
Class Method Details
.new(options = {}) ⇒ Object
284 285 286 287 288 289 |
# File 'lib/punchblock/component/output.rb', line 284 def self.new( = {}) super.tap do |new_node| new_node.direction = [:direction] new_node.amount = [:amount] end end |
Instance Method Details
#amount=(other) ⇒ Object
295 296 297 |
# File 'lib/punchblock/component/output.rb', line 295 def amount=(other) write_attr :amount, other end |
#direction=(other) ⇒ Object
291 292 293 |
# File 'lib/punchblock/component/output.rb', line 291 def direction=(other) write_attr :direction, other end |
#execute! ⇒ Object
304 305 306 307 |
# File 'lib/punchblock/component/output.rb', line 304 def execute! source.stopped_seeking! super end |
#request! ⇒ Object
299 300 301 302 |
# File 'lib/punchblock/component/output.rb', line 299 def request! source.seeking! super end |