lib/dor/services/client.rb in dor-services-client-1.12.0 vs lib/dor/services/client.rb in dor-services-client-2.0.0
- old
+ new
@@ -62,14 +62,10 @@
# @return [Dor::Services::Client::Objects] an instance of the `Client::Objects` class
def objects
@objects ||= Objects.new(connection: connection, version: DEFAULT_VERSION)
end
- def workflows
- @workflows ||= Workflows.new(connection: connection, version: DEFAULT_VERSION)
- end
-
class << self
# @param [String] url
# @param [String] token a bearer token for HTTP auth
# @param [String] token_header ('Authorization') set this to something if you are also using
# basic auth, or the headers will collide
@@ -82,10 +78,10 @@
instance.connection = nil
self
end
- delegate :objects, :object, :workflows, to: :instance
+ delegate :objects, :object, to: :instance
end
attr_writer :url, :token, :token_header, :connection
private