lib/sdr_client/deposit.rb in sdr-client-0.11.0 vs lib/sdr_client/deposit.rb in sdr-client-0.12.0

- old
+ new

@@ -6,12 +6,13 @@ # The namespace for the "deposit" command module Deposit # rubocop:disable Metrics/ParameterLists def self.run(label: nil, type: 'http://cocina.sul.stanford.edu/models/book.jsonld', + viewing_direction: nil, apo:, - collection:, + collection: nil, catkey: nil, embargo_release_date: nil, embargo_access: 'world', source_id:, url:, @@ -27,9 +28,10 @@ collection: collection, source_id: source_id, catkey: catkey, embargo_release_date: embargo_release_date, embargo_access: embargo_access, + viewing_direction: viewing_direction, 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