Module: HubSpot::HTTPApiCalls::Base
- Included in:
- Contact::CreateOrUpdate
- Defined in:
- lib/hub_spot/http_api_calls/base.rb
Instance Method Summary collapse
Instance Method Details
#default_headers ⇒ Object
14 15 16 |
# File 'lib/hub_spot/http_api_calls/base.rb', line 14 def default_headers HubSpot::HTTP::DEFAULT_HEADERS end |
#raw_response ⇒ Object
10 11 12 |
# File 'lib/hub_spot/http_api_calls/base.rb', line 10 def raw_response make_the_call end |
#response ⇒ Object
6 7 8 |
# File 'lib/hub_spot/http_api_calls/base.rb', line 6 def response JSON.parse(raw_response.body) end |