lib/sdr_client/deposit.rb in sdr-client-0.71.0 vs lib/sdr_client/deposit.rb in sdr-client-0.72.0

- old
+ new

@@ -10,13 +10,13 @@ # rubocop:disable Metrics/MethodLength # @return [String] job id for the background job result def self.run(label: nil, type: BOOK_TYPE, viewing_direction: nil, - access: 'dark', + view: 'dark', download: 'none', - use_statement: nil, + use_and_reproduction: nil, copyright: nil, apo:, collection: nil, catkey: nil, embargo_release_date: nil, @@ -31,13 +31,13 @@ file_set_type_strategy: FileTypeFileSetStrategy, logger: Logger.new($stdout)) augmented_metadata = FileMetadataBuilder.build(files: files, files_metadata: files_metadata) metadata = Request.new(label: label, type: type, - access: access, + view: view, download: download, apo: apo, - use_statement: use_statement, + use_and_reproduction: use_and_reproduction, copyright: copyright, collection: collection, source_id: source_id, catkey: catkey, embargo_release_date: embargo_release_date,