Class: HubspotClient::Client::Properties
- Inherits:
-
Object
- Object
- HubspotClient::Client::Properties
- Includes:
- HTTParty
- Defined in:
- lib/hubspot_client/client/properties.rb
Constant Summary collapse
- BASE_PATH =
'/crm/v3/properties'
Instance Method Summary collapse
Instance Method Details
#for(object_type) ⇒ Object
11 12 13 14 |
# File 'lib/hubspot_client/client/properties.rb', line 11 def for(object_type) response = self.class.get("#{BASE_PATH}/#{object_type}", headers: headers) return response if response.code == 200 end |