lib/archivesspace/client/client.rb in archivesspace-client-0.2.0 vs lib/archivesspace/client/client.rb in archivesspace-client-0.3.0
- old
+ new
@@ -5,9 +5,11 @@
include Pagination
include Task
attr_accessor :token
attr_reader :config
+ NAME = "ArchivesSpaceClient"
+
def initialize(config = Configuration.new)
raise "Invalid configuration object" unless config.is_a? ArchivesSpace::Configuration
@config = config
@token = nil