Sha256: f87c0bdcfb7b2367b0c40fb9caaeffbe3cf62e14b206e702e76eeb138bb53642

Contents?: true

Size: 490 Bytes

Versions: 4

Compression:

Stored size: 490 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))
      connection = Connection.new(url: url)
      ModelProcess.new(request_dro: request_dro, connection: connection, files: files, logger: logger).run
    end
  end
end
require 'sdr_client/deposit/model_process'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sdr-client-0.23.0 lib/sdr_client/model_deposit.rb
sdr-client-0.22.0 lib/sdr_client/model_deposit.rb
sdr-client-0.21.0 lib/sdr_client/model_deposit.rb
sdr-client-0.20.0 lib/sdr_client/model_deposit.rb