Sha256: a2d2f541e06404382c01fe78b96b4c287874cd67099ec9cd48f393b2b1814f6c

Contents?: true

Size: 639 Bytes

Versions: 5

Compression:

Stored size: 639 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:,
                       accession:,
                       logger: Logger.new(STDOUT))
      connection = Connection.new(url: url)
      ModelProcess.new(request_dro: request_dro,
                       connection: connection,
                       files: files,
                       logger: logger,
                       accession: accession).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.26.1 lib/sdr_client/model_deposit.rb
sdr-client-0.26.0 lib/sdr_client/model_deposit.rb
sdr-client-0.25.0 lib/sdr_client/model_deposit.rb
sdr-client-0.24.0 lib/sdr_client/model_deposit.rb
sdr-client-0.23.1 lib/sdr_client/model_deposit.rb