lib/folio_client.rb in folio_client-0.5.0 vs lib/folio_client.rb in folio_client-0.6.0

- old
+ new

@@ -39,10 +39,10 @@ class << self # @param url [String] the folio API URL # @param login_params [Hash] the folio client login params (username:, password:) # @param okapi_headers [Hash] the okapi specific headers to add (X-Okapi-Tenant:, User-Agent:) def configure(url:, login_params:, okapi_headers:) - instance.config = OpenStruct.new(url:, login_params:, okapi_headers:, token: nil) + instance.config = OpenStruct.new(url: url, login_params: login_params, okapi_headers: okapi_headers, token: nil) instance.config.token = Authenticator.token(login_params, connection) self end