Sha256: e87dba09819a658b15ed9842ae92078844b083cc9df8b302c6a7476721c34783

Contents?: true

Size: 478 Bytes

Versions: 5

Compression:

Stored size: 478 Bytes

Contents

# frozen_string_literal: true

require 'logger'

module SdrClient
  # The namespace for the "deposit" command
  module Deposit
    def self.model_run(request_dro:,
                       files: [],
                       url:,
                       logger: Logger.new(STDOUT))
      token = Credentials.read

      ModelProcess.new(request_dro: request_dro, url: url, token: token, files: files, logger: logger).run
    end
  end
end
require 'sdr_client/deposit/model_process'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sdr-client-0.19.0 lib/sdr_client/model_deposit.rb
sdr-client-0.18.0 lib/sdr_client/model_deposit.rb
sdr-client-0.17.2 lib/sdr_client/model_deposit.rb
sdr-client-0.17.1 lib/sdr_client/model_deposit.rb
sdr-client-0.17.0 lib/sdr_client/model_deposit.rb