Sha256: 485e7c49b106ea18cf532b07cc17bc7c015780dedf3f70369496aae1b30c6312

Contents?: true

Size: 380 Bytes

Versions: 5

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true

require 'dor/models/response/process'

module Dor
  module Workflow
    module Response
      # The response from telling the server to update a workflow step.
      class Update
        def initialize(json:)
          @json = JSON.parse(json)
        end

        def next_steps
          @json[:next_steps]
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dor-workflow-client-3.3.0 lib/dor/models/response/update.rb
dor-workflow-client-3.2.0 lib/dor/models/response/update.rb
dor-workflow-client-3.1.0 lib/dor/models/response/update.rb
dor-workflow-client-3.0.0 lib/dor/models/response/update.rb
dor-workflow-client-3.0.0.rc1 lib/dor/models/response/update.rb