def send_request(method, path, fields = {})
      response = send_logged_request(URI(BASE_URL + path), method, request_data(fields))
      fail UnexpectedHttpResponse, response unless response.is_a? Net::HTTPSuccess
      JSON.parse(response.body)
    end
def send_request(method, path, fields = {})
      response = send_logged_request(URI(BASE_URL + path), method, request_data(fields))
      fail UnexpectedHttpResponse, response unless response.is_a? Net::HTTPSuccess
      JSON.parse(response.body)
    end
Accepts hash of fields to send.
 Returns parsed response body, always a hash.