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
270 271 272 273 274 275 |
# File 'lib/punchblock/component/output.rb', line 270 def self.new( = {}) super.tap do |new_node| new_node.direction = [:direction] new_node.amount = [:amount] end end |
Instance Method Details
#amount=(other) ⇒ Object
281 282 283 |
# File 'lib/punchblock/component/output.rb', line 281 def amount=(other) write_attr :amount, other end |
#direction=(other) ⇒ Object
277 278 279 |
# File 'lib/punchblock/component/output.rb', line 277 def direction=(other) write_attr :direction, other end |
#execute! ⇒ Object
290 291 292 293 |
# File 'lib/punchblock/component/output.rb', line 290 def execute! source.stopped_seeking! super end |
#request! ⇒ Object
285 286 287 288 |
# File 'lib/punchblock/component/output.rb', line 285 def request! source.seeking! super end |