Class: Hyperloop::Application::Boot
- Defined in:
- lib/hyper-operation/boot.rb
Constant Summary
Constants inherited from Operation
Class Method Summary collapse
Methods inherited from Operation
_Railway, _run, #abort!, #add_error, add_error, async, fail, failed, #has_errors?, inbound, inherited, #initialize, outbound, param, #params, step, #succeed!, then, validate
Constructor Details
This class inherits a constructor from Hyperloop::Operation
Class Method Details
.on_dispatch(&block) ⇒ Object
14 15 16 |
# File 'lib/hyper-operation/boot.rb', line 14 def self.on_dispatch(&block) _Railway.add_receiver(&block) end |
.run(*args) ⇒ Object
17 18 19 20 |
# File 'lib/hyper-operation/boot.rb', line 17 def self.run(*args) ClientDrivers.initialize_client_drivers_on_boot _run(*args) end |