Sha256: dbdd9fbd3f5388f6c9cede869bcca0b25a94d8bd574f778df6fb0c273df68fe6

Contents?: true

Size: 413 Bytes

Versions: 9

Compression:

Stored size: 413 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    
      attr_accessor :title    
    end
  end  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rules_engine-0.3.3 lib/rules_engine/rule/outcome.rb
rules_engine-0.3.2 lib/rules_engine/rule/outcome.rb
rules_engine-0.3.1 lib/rules_engine/rule/outcome.rb
rules_engine-0.3.0 lib/rules_engine/rule/outcome.rb
rules_engine-0.2.0 lib/rules_engine/rule/outcome.rb
rules_engine-0.1.10 lib/rules_engine/rule/outcome.rb
rules_engine-0.1.9 lib/rules_engine/rule/outcome.rb
rules_engine-0.1.8 lib/rules_engine/rule/outcome.rb
rules_engine-0.1.7 lib/rules_engine/rule/outcome.rb