Class: HubSpot::HTTPApiCalls::Contact::CreateOrUpdate

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/hub_spot/http_api_calls/contact/create_or_update.rb

Constant Summary collapse

URL =
"https://api.hubapi.com/contacts/v1/contact/createOrUpdate/email/%<email>s"

Instance Method Summary collapse

Methods included from Base

#default_headers, #raw_response, #response

Constructor Details

#initialize(properties) ⇒ CreateOrUpdate

Returns a new instance of CreateOrUpdate.



10
11
12
# File 'lib/hub_spot/http_api_calls/contact/create_or_update.rb', line 10

def initialize(properties)
  @properties = ::HubSpot.stringify_keys(properties)
end