Class: Punchblock::Component::Output::SlowDown

Inherits:
Punchblock::CommandNode show all
Defined in:
lib/punchblock/component/output.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from RayoNode

#call_id, #client, #component_id, #connection, #original_component

Instance Method Summary collapse

Methods inherited from Punchblock::CommandNode

#initialize, new, #response, #response=, #write_attr

Methods inherited from RayoNode

class_from_registration, #eql?, import, #inspect, #inspect_attributes, new, register, #source

Constructor Details

This class inherits a constructor from Punchblock::CommandNode

Instance Method Details

#execute!Object



342
343
344
345
# File 'lib/punchblock/component/output.rb', line 342

def execute!
  source.stopped_speeding!
  super
end

#request!Object



337
338
339
340
# File 'lib/punchblock/component/output.rb', line 337

def request!
  source.slowing_down!
  super
end