Sha256: fe5a0ada9d22070c116f1c08e411f449995f8a4bc73f7d7ed0b1bc71799df5b2

Contents?: true

Size: 362 Bytes

Versions: 9

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

module Floe
  class Workflow
    class Catcher
      attr_reader :error_equals, :next, :result_path

      def initialize(payload)
        @payload = payload

        @error_equals = payload["ErrorEquals"]
        @next         = payload["Next"]
        @result_path  = payload.fetch("ResultPath", "$")
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
floe-0.4.0 lib/floe/workflow/catcher.rb
floe-0.3.1 lib/floe/workflow/catcher.rb
floe-0.3.0 lib/floe/workflow/catcher.rb
floe-0.2.3 lib/floe/workflow/catcher.rb
floe-0.2.2 lib/floe/workflow/catcher.rb
floe-0.2.1 lib/floe/workflow/catcher.rb
floe-0.2.0 lib/floe/workflow/catcher.rb
floe-0.1.1 lib/floe/workflow/catcher.rb
floe-0.1.0 lib/floe/workflow/catcher.rb