lib/sdr_client/deposit.rb in sdr-client-0.9.0 vs lib/sdr_client/deposit.rb in sdr-client-0.10.0
- old
+ new
@@ -9,10 +9,11 @@
def self.run(label: nil,
type: 'http://cocina.sul.stanford.edu/models/book.jsonld',
apo:,
collection:,
catkey: nil,
+ embargo_release_date: nil,
source_id:,
url:,
files: [],
files_metadata: {},
grouping_strategy: SingleFileGroupingStrategy,
@@ -23,9 +24,10 @@
type: type,
apo: apo,
collection: collection,
source_id: source_id,
catkey: catkey,
+ embargo_release_date: embargo_release_date,
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