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

#client, #connection, #original_component

Instance Method Summary (collapse)

Methods inherited from Punchblock::CommandNode

#initialize, #response, #response=

Methods inherited from RayoNode

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

Constructor Details

This class inherits a constructor from Punchblock::CommandNode

Instance Method Details

- (Object) execute!



346
347
348
349
# File 'lib/punchblock/component/output.rb', line 346

def execute!
  source.stopped_speeding!
  super
end

- (Object) request!



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

def request!
  source.slowing_down!
  super
end