module HubSpot::HTTPApiCalls::Base

Public Instance Methods

default_headers() click to toggle source
# File lib/hub_spot/http_api_calls/base.rb, line 14
def default_headers
  HubSpot::HTTP::DEFAULT_HEADERS
end
raw_response() click to toggle source
# File lib/hub_spot/http_api_calls/base.rb, line 10
def raw_response
  make_the_call
end
response() click to toggle source
# File lib/hub_spot/http_api_calls/base.rb, line 6
def response
  JSON.parse(raw_response.body)
end