Method: ONEAccess::Http::HttpClient.get
- Defined in:
- lib/oneaccess/http/http_client.rb
.get(url, params = {}) ⇒ Object
7 8 9 10 11 |
# File 'lib/oneaccess/http/http_client.rb', line 7 def get(url, params = {}) RestClient.get(url, { params: params }.merge(auth_headers)) rescue RestClient::Exception => e raise create_api_error(e) end |