Method: Chaintown::Steps#failed_step

Defined in:
lib/chaintown/steps.rb

#failed_step(step_handler, **params, &block) ⇒ Object

DSL method to add new step called when process will fail



45
46
47
# File 'lib/chaintown/steps.rb', line 45

def failed_step(step_handler, **params, &block)
  failed_steps << init_step(step_handler, params, &block)
end