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:
Instance Attribute Summary
Attributes inherited from RayoNode
#call_id, #client, #component_id, #connection, #original_component
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Punchblock::CommandNode
#initialize, #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
228 229 230 231 232 233 |
# File 'lib/punchblock/component/output.rb', line 228 def self.new( = {}) super.tap do |new_node| new_node.direction = [:direction] new_node.amount = [:amount] end end |
Instance Method Details
#amount=(other) ⇒ Object
239 240 241 |
# File 'lib/punchblock/component/output.rb', line 239 def amount=(other) write_attr :amount, other end |
#direction=(other) ⇒ Object
235 236 237 |
# File 'lib/punchblock/component/output.rb', line 235 def direction=(other) write_attr :direction, other end |
#execute! ⇒ Object
248 249 250 251 |
# File 'lib/punchblock/component/output.rb', line 248 def execute! source.stopped_seeking! super end |
#request! ⇒ Object
243 244 245 246 |
# File 'lib/punchblock/component/output.rb', line 243 def request! source.seeking! super end |