Class: Seam::WaitWorker

Inherits:
Worker
  • Object
show all
Defined in:
lib/seam/wait_worker.rb

Instance Attribute Summary

Attributes inherited from Worker

#operation_args

Instance Method Summary collapse

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

#initializeWaitWorker

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

#processObject



9
10
11
# File 'lib/seam/wait_worker.rb', line 9

def process
  move_to_next_step( { on: the_time_to_move_on } )
end