lib/dor/services/client.rb in dor-services-client-6.2.0 vs lib/dor/services/client.rb in dor-services-client-6.3.0

- old
+ new

@@ -54,10 +54,15 @@ return @object if @object&.object_identifier == object_identifier @object = Object.new(connection: connection, version: DEFAULT_VERSION, object_identifier: object_identifier) end + # @return [Dor::Services::Client::AdministrativeTagSearch] an instance of the `Client::AdministrativeTagSearch` class + def administrative_tags + @administrative_tags ||= AdministrativeTagSearch.new(connection: connection, version: DEFAULT_VERSION) + end + # @return [Dor::Services::Client::Objects] an instance of the `Client::Objects` class def objects @objects ||= Objects.new(connection: connection, version: DEFAULT_VERSION) end @@ -89,10 +94,11 @@ instance.connection = nil self end - delegate :background_job_results, :marcxml, :objects, :object, :virtual_objects, to: :instance + delegate :background_job_results, :marcxml, :objects, :object, + :virtual_objects, :administrative_tags, to: :instance end attr_writer :url, :token, :connection, :enable_get_retries private