lib/dor/services/client.rb in dor-services-client-12.18.0 vs lib/dor/services/client.rb in dor-services-client-13.0.0

- old
+ new

@@ -109,15 +109,10 @@ # @return [Dor::Services::Client::BackgroundJobResults] an instance of the `Client::BackgroundJobResults` class def background_job_results @background_job_results ||= BackgroundJobResults.new(connection: connection, version: DEFAULT_VERSION) end - # @return [Dor::Services::Client::Marcxml] an instance of the `Client::Marcxml` class - def marcxml - @marcxml ||= Marcxml.new(connection: connection, version: DEFAULT_VERSION) - end - class << self # @param [String] url the base url of the endpoint the client should connect to (required) # @param [String] token a bearer token for HTTP authentication (required) # @param [Boolean] enable_get_retries retries get requests on errors def configure(url:, token:, enable_get_retries: false) @@ -129,11 +124,10 @@ instance.connection = nil self end - delegate :background_job_results, :marcxml, :objects, :object, - :virtual_objects, :administrative_tags, to: :instance + delegate :background_job_results, :objects, :object, :virtual_objects, :administrative_tags, to: :instance end attr_writer :url, :token, :connection, :enable_get_retries private