lib/auth_lh.rb in auth-lh-0.10.1 vs lib/auth_lh.rb in auth-lh-0.10.2
- old
+ new
@@ -92,10 +92,10 @@
else
JSON.parse(response.body)
end
end
- def put_request(action, params={}, headers={})
+ def self.put_request(action, params={}, headers={})
response = RestClient.put("#{@endpoint_url}#{action}", params, headers.merge(auth_headers))
if response.body == 'null'
nil
else