Sha256: 2ac2b0efbc06dc2f8b57d0d55a7abfb83095c00ce4a8a7b3d8cd4cef86eb7d8d

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module Floe
  class Workflow
    module States
      class Succeed < Floe::Workflow::State
        attr_reader :input_path, :output_path

        def initialize(workflow, name, payload)
          super

          @end = true
        end

        def run!(input)
          [nil, input]
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
floe-0.2.3 lib/floe/workflow/states/succeed.rb
floe-0.2.2 lib/floe/workflow/states/succeed.rb