lib/sdr_client/deposit.rb in sdr-client-0.16.0 vs lib/sdr_client/deposit.rb in sdr-client-0.16.1
- old
+ new
@@ -3,13 +3,14 @@
require 'logger'
module SdrClient
# The namespace for the "deposit" command
module Deposit
+ BOOK_TYPE = 'http://cocina.sul.stanford.edu/models/book.jsonld'
# rubocop:disable Metrics/ParameterLists
# rubocop:disable Metrics/MethodLength
def self.run(label: nil,
- type: 'http://cocina.sul.stanford.edu/models/book.jsonld',
+ type: BOOK_TYPE,
viewing_direction: nil,
access: 'dark',
use_statement: nil,
copyright: nil,
apo:,