Sha256: d4e5e053d7e37ba8dbe7733d05097532bb333c5ea01ebc686f78199ecdef20cb

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

module RulesEngine  
  class RuleOutcome
    
    def initialize(outcome, workflow_code = nil)
      @outcome = outcome
      @workflow_code = workflow_code
    end

    OUTCOME_NEXT  =            0
    OUTCOME_STOP_SUCCESS  =    1
    OUTCOME_STOP_FAILURE  =    2
    OUTCOME_START_WORKFLOW  =  3

    attr_accessor :outcome
    attr_accessor :workflow_code    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rules_engine-0.1.3 lib/rules_engine/rule_outcome.rb