Method: Freelancer::Client#api_get_raw
- Defined in:
- lib/freelancer/client.rb
#api_get_raw(method, options = {}) ⇒ Object
Execute a GET-request for the specified API method and return the raw result.
80 81 82 83 84 |
# File 'lib/freelancer/client.rb', line 80 def api_get_raw(method, = {}) response = access_token.get(to_uri(method, )) raise_api_errors!(response) response.body end |