module Libis::Workflow::Action

Constants

ALWAYS_RUN
CONTINUE
FAILED
RETRY
RUN

Public Instance Methods

next_success_action(action) click to toggle source
# File lib/libis/workflow/action.rb, line 11
def next_success_action(action)
  case action
    when :run, :continue, :retry, :always_run
      :always_run
    when :failed
      :failed
    else
      :failed
  end
end