Module: RepositoryClient::Deposit

Defined in:
lib/repository_client/deposit.rb,
lib/repository_client/deposit/process.rb,
lib/repository_client/deposit/request.rb,
lib/repository_client/deposit/files/direct_upload_request.rb,
lib/repository_client/deposit/files/direct_upload_response.rb

Overview

The namespace for the “deposit” command

Defined Under Namespace

Modules: Files Classes: Process, Request

Class Method Summary collapse

Class Method Details

.run(label:, type: 'http://cocina.sul.stanford.edu/models/book.jsonld', url:, files: []) ⇒ Object



6
7
8
9
10
# File 'lib/repository_client/deposit.rb', line 6

def self.run(label:,
             type: 'http://cocina.sul.stanford.edu/models/book.jsonld',
             url:, files: [])
  Process.new(label: label, type: type, url: url, files: files).run
end