lib/auth_lh.rb in auth-lh-0.10.2 vs lib/auth_lh.rb in auth-lh-0.10.3

- old
+ new

@@ -92,11 +92,11 @@ else JSON.parse(response.body) end end - def self.put_request(action, params={}, headers={}) - response = RestClient.put("#{@endpoint_url}#{action}", params, headers.merge(auth_headers)) + def self.put_request(action, params={}) + response = RestClient.put("#{@endpoint}#{action}", params, auth_headers) if response.body == 'null' nil else JSON.parse(response.body)