Class: Adhearsion::Rayo::Component::Output::Seek

Inherits:
Adhearsion::Rayo::CommandNode show all
Defined in:
lib/adhearsion/rayo/component/output.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from RayoNode

#client, #connection, #original_component

Instance Method Summary collapse

Methods inherited from Adhearsion::Rayo::CommandNode

#initialize, #response, #response=

Methods inherited from RayoNode

#==, class_from_registration, from_xml, #inherit, #inspect, #rayo_children, register, #source, #to_rayo, #to_xml

Constructor Details

This class inherits a constructor from Adhearsion::Rayo::CommandNode

Instance Method Details

#execute!Object


261
262
263
264
# File 'lib/adhearsion/rayo/component/output.rb', line 261

def execute!
  source.stopped_seeking!
  super
end

#rayo_attributesObject


266
267
268
# File 'lib/adhearsion/rayo/component/output.rb', line 266

def rayo_attributes
  {'direction' => direction, 'amount' => amount}
end

#request!Object


256
257
258
259
# File 'lib/adhearsion/rayo/component/output.rb', line 256

def request!
  source.seeking!
  super
end