Sha256: 2bcc6609057dadefa95fab672cebfee21fa71137afe7bd79374d2577b0da7e2f

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

module WorkflowRb

  class ExecutionResult
    attr_accessor :proceed
    attr_accessor :outcome_value
    attr_accessor :persistence_data
    attr_accessor :sleep_for

    def self.NextStep
      result = ExecutionResult.new
      result.proceed = true
      result.outcome_value = nil
      result
    end

    def self.Outcome(value)
      result = ExecutionResult.new
      result.proceed = true
      result.outcome_value = value
      result
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workflow_rb-0.1.0 lib/workflow_rb/models/execution_result.rb