Sha256: 9e06bfc5a56fbbb8de31b405076127e1b6720694c208492ed213f23a256abef2

Contents?: true

Size: 382 Bytes

Versions: 3

Compression:

Stored size: 382 Bytes

Contents

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

      NEXT  =            0
      STOP_SUCCESS  =    1
      STOP_FAILURE  =    2
      START_WORKFLOW  =  3

      attr_accessor :outcome
      attr_accessor :workflow_code    
    end
  end  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rules_engine-0.1.6 lib/rules_engine/rule/outcome.rb
rules_engine-0.1.5 lib/rules_engine/rule/outcome.rb
rules_engine-0.1.4 lib/rules_engine/rule/outcome.rb