lib/oneaccess/api/base.rb in oneaccess-0.1.0 vs lib/oneaccess/api/base.rb in oneaccess-0.1.1

- old
+ new

@@ -6,10 +6,10 @@ module ONEAccess module API class Base class << self - def get(method, params = {}) + def send_get(method, params = {}) RestClient.get(api_url(method), { params: params }.merge(auth_headers)) rescue RestClient::Exception => e raise create_api_error(e) end