lib/sdr_client/deposit.rb in sdr-client-0.10.0 vs lib/sdr_client/deposit.rb in sdr-client-0.11.0
- old
+ new
@@ -10,10 +10,11 @@
type: 'http://cocina.sul.stanford.edu/models/book.jsonld',
apo:,
collection:,
catkey: nil,
embargo_release_date: nil,
+ embargo_access: 'world',
source_id:,
url:,
files: [],
files_metadata: {},
grouping_strategy: SingleFileGroupingStrategy,
@@ -25,9 +26,10 @@
apo: apo,
collection: collection,
source_id: source_id,
catkey: catkey,
embargo_release_date: embargo_release_date,
+ embargo_access: embargo_access,
files_metadata: files_metadata)
Process.new(metadata: metadata, url: url, token: token, files: files,
grouping_strategy: grouping_strategy, logger: logger).run
end
# rubocop:enable Metrics/ParameterLists