Module: Constants

Included in:
Companies, Contacts, Hubspot
Defined in:
lib/ruby_hubspot/constants.rb

Overview

Constants module includes all constants

Constant Summary collapse

API_URL =

hubspot api url

'https://api.hubapi.com/'
CONTENT_TYPE =

content type for request

'application/json'
AUTHORIZATION_KEY =

authorization key for access

'Bearer '
GET =

method get for request

:get
POST =

method post for request

:post
PATCH =

method patch for request

:patch
PUT =

method put for request

:put
DELETE =

method delete for request

:delete
ALL_CONTACTS =

hubspot all contacts request path

'crm/v4/objects/contacts'
ALL_COMPANIES =

hubspot all companies request path

'crm/v3/properties/companies'
ALL_DEALS =

hubspot all deals request path

'crm/v4/objects/deals'
ALL_SUBMITIONS =

hubspot all submitions request path

'crm/v4/objects/feedback_submissions'
INDIVIDUAL_CONTACT =

hubspot individual contact request path

'contacts/v1/contact'
INDIVIDUAL_COMPANY =

hubspot individual company request path

'companies/v2/companies/'
INDIVIDUAL_DEAL =

hubspot individual deal request path

'deals/v1/deal'
INDIVIDUAL_SUB =

hubspot individual sub request path

'feedback_submissions/v1/feedback_submission'
CREATE_OR_UPDATE =

hubspot create or update request path

'/createOrUpdate'
VID =

hubspot vid request path

'/vid/'
EMAIL =

hubspot email request path

'/email/'
PROFILE =

hubspot profile request path

'/profile'