Class: Seam::WaitWorker
Instance Attribute Summary
Attributes inherited from Worker
Instance Method Summary collapse
-
#initialize ⇒ WaitWorker
constructor
A new instance of WaitWorker.
- #process ⇒ Object
Methods inherited from Worker
all, #current_step, #effort, #eject, #execute, #execute_all, handler_for, #handles, #history, inherited, #move_to_next_step, #operations, #step, #try_again_in, #try_again_on
Constructor Details
#initialize ⇒ WaitWorker
Returns a new instance of WaitWorker.
5 6 7 |
# File 'lib/seam/wait_worker.rb', line 5 def initialize handles :wait end |
Instance Method Details
#process ⇒ Object
9 10 11 |
# File 'lib/seam/wait_worker.rb', line 9 def process move_to_next_step( { on: the_time_to_move_on } ) end |