Module: Hubspot

Defined in:
lib/hubspot/codegen/oauth/api_error.rb,
lib/hubspot/version.rb,
lib/hubspot-api-client.rb,
lib/hubspot/exceptions.rb,
lib/hubspot/oauth_helper.rb,
lib/hubspot/configuration.rb,
lib/hubspot/helpers/get_all_helper.rb,
lib/hubspot/codegen/oauth/api_client.rb,
lib/hubspot/codegen/oauth/models/error.rb,
lib/hubspot/codegen/crm/deals/api_error.rb,
lib/hubspot/codegen/oauth/configuration.rb,
lib/hubspot/codegen/crm/deals/api_client.rb,
lib/hubspot/codegen/crm/owners/api_error.rb,
lib/hubspot/codegen/crm/quotes/api_error.rb,
lib/hubspot/codegen/oauth/api/tokens_api.rb,
lib/hubspot/codegen/crm/objects/api_error.rb,
lib/hubspot/codegen/crm/owners/api_client.rb,
lib/hubspot/codegen/crm/quotes/api_client.rb,
lib/hubspot/codegen/crm/tickets/api_error.rb,
lib/hubspot/codegen/crm/contacts/api_error.rb,
lib/hubspot/codegen/crm/deals/models/error.rb,
lib/hubspot/codegen/crm/objects/api_client.rb,
lib/hubspot/codegen/crm/products/api_error.rb,
lib/hubspot/codegen/crm/tickets/api_client.rb,
lib/hubspot/codegen/oauth/models/json_node.rb,
lib/hubspot/codegen/crm/companies/api_error.rb,
lib/hubspot/codegen/crm/contacts/api_client.rb,
lib/hubspot/codegen/crm/deals/api/basic_api.rb,
lib/hubspot/codegen/crm/deals/api/batch_api.rb,
lib/hubspot/codegen/crm/deals/configuration.rb,
lib/hubspot/codegen/crm/deals/models/filter.rb,
lib/hubspot/codegen/crm/deals/models/paging.rb,
lib/hubspot/codegen/crm/owners/models/error.rb,
lib/hubspot/codegen/crm/pipelines/api_error.rb,
lib/hubspot/codegen/crm/products/api_client.rb,
lib/hubspot/codegen/crm/quotes/models/error.rb,
lib/hubspot/codegen/crm/companies/api_client.rb,
lib/hubspot/codegen/crm/deals/api/search_api.rb,
lib/hubspot/codegen/crm/line_items/api_error.rb,
lib/hubspot/codegen/crm/objects/models/error.rb,
lib/hubspot/codegen/crm/owners/configuration.rb,
lib/hubspot/codegen/crm/owners/models/paging.rb,
lib/hubspot/codegen/crm/pipelines/api_client.rb,
lib/hubspot/codegen/crm/properties/api_error.rb,
lib/hubspot/codegen/crm/quotes/api/basic_api.rb,
lib/hubspot/codegen/crm/quotes/api/batch_api.rb,
lib/hubspot/codegen/crm/quotes/configuration.rb,
lib/hubspot/codegen/crm/quotes/models/filter.rb,
lib/hubspot/codegen/crm/quotes/models/paging.rb,
lib/hubspot/codegen/crm/tickets/models/error.rb,
lib/hubspot/codegen/crm/contacts/models/error.rb,
lib/hubspot/codegen/crm/line_items/api_client.rb,
lib/hubspot/codegen/crm/objects/api/basic_api.rb,
lib/hubspot/codegen/crm/objects/api/batch_api.rb,
lib/hubspot/codegen/crm/objects/configuration.rb,
lib/hubspot/codegen/crm/objects/models/filter.rb,
lib/hubspot/codegen/crm/objects/models/paging.rb,
lib/hubspot/codegen/crm/products/models/error.rb,
lib/hubspot/codegen/crm/properties/api_client.rb,
lib/hubspot/codegen/crm/quotes/api/search_api.rb,
lib/hubspot/codegen/crm/tickets/api/basic_api.rb,
lib/hubspot/codegen/crm/tickets/api/batch_api.rb,
lib/hubspot/codegen/crm/tickets/configuration.rb,
lib/hubspot/codegen/crm/tickets/models/filter.rb,
lib/hubspot/codegen/crm/tickets/models/paging.rb,
lib/hubspot/codegen/oauth/models/error_detail.rb,
lib/hubspot/codegen/crm/associations/api_error.rb,
lib/hubspot/codegen/crm/companies/models/error.rb,
lib/hubspot/codegen/crm/contacts/api/basic_api.rb,
lib/hubspot/codegen/crm/contacts/api/batch_api.rb,
lib/hubspot/codegen/crm/contacts/configuration.rb,
lib/hubspot/codegen/crm/contacts/models/filter.rb,
lib/hubspot/codegen/crm/contacts/models/paging.rb,
lib/hubspot/codegen/crm/deals/models/next_page.rb,
lib/hubspot/codegen/crm/objects/api/search_api.rb,
lib/hubspot/codegen/crm/owners/api/default_api.rb,
lib/hubspot/codegen/crm/pipelines/models/error.rb,
lib/hubspot/codegen/crm/products/api/basic_api.rb,
lib/hubspot/codegen/crm/products/api/batch_api.rb,
lib/hubspot/codegen/crm/products/configuration.rb,
lib/hubspot/codegen/crm/products/models/filter.rb,
lib/hubspot/codegen/crm/products/models/paging.rb,
lib/hubspot/codegen/crm/tickets/api/search_api.rb,
lib/hubspot/codegen/oauth/models/refresh_token.rb,
lib/hubspot/codegen/crm/associations/api_client.rb,
lib/hubspot/codegen/crm/companies/api/basic_api.rb,
lib/hubspot/codegen/crm/companies/api/batch_api.rb,
lib/hubspot/codegen/crm/companies/configuration.rb,
lib/hubspot/codegen/crm/companies/models/filter.rb,
lib/hubspot/codegen/crm/companies/models/paging.rb,
lib/hubspot/codegen/crm/contacts/api/search_api.rb,
lib/hubspot/codegen/crm/line_items/models/error.rb,
lib/hubspot/codegen/crm/owners/models/next_page.rb,
lib/hubspot/codegen/crm/pipelines/configuration.rb,
lib/hubspot/codegen/crm/pipelines/models/paging.rb,
lib/hubspot/codegen/crm/products/api/search_api.rb,
lib/hubspot/codegen/crm/properties/api/core_api.rb,
lib/hubspot/codegen/crm/properties/models/error.rb,
lib/hubspot/codegen/crm/quotes/models/next_page.rb,
lib/hubspot/codegen/oauth/api/access_tokens_api.rb,
lib/hubspot/codegen/crm/companies/api/search_api.rb,
lib/hubspot/codegen/crm/line_items/api/basic_api.rb,
lib/hubspot/codegen/crm/line_items/api/batch_api.rb,
lib/hubspot/codegen/crm/line_items/configuration.rb,
lib/hubspot/codegen/crm/line_items/models/filter.rb,
lib/hubspot/codegen/crm/line_items/models/paging.rb,
lib/hubspot/codegen/crm/objects/models/next_page.rb,
lib/hubspot/codegen/crm/properties/api/batch_api.rb,
lib/hubspot/codegen/crm/properties/configuration.rb,
lib/hubspot/codegen/crm/properties/models/option.rb,
lib/hubspot/codegen/crm/properties/models/paging.rb,
lib/hubspot/codegen/crm/tickets/models/next_page.rb,
lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb,
lib/hubspot/codegen/crm/associations/models/error.rb,
lib/hubspot/codegen/crm/contacts/models/next_page.rb,
lib/hubspot/codegen/crm/deals/models/error_detail.rb,
lib/hubspot/codegen/crm/deals/models/filter_group.rb,
lib/hubspot/codegen/crm/line_items/api/search_api.rb,
lib/hubspot/codegen/crm/owners/models/public_team.rb,
lib/hubspot/codegen/crm/pipelines/models/pipeline.rb,
lib/hubspot/codegen/crm/products/models/next_page.rb,
lib/hubspot/codegen/crm/properties/api/groups_api.rb,
lib/hubspot/codegen/crm/associations/api/batch_api.rb,
lib/hubspot/codegen/crm/associations/configuration.rb,
lib/hubspot/codegen/crm/companies/models/next_page.rb,
lib/hubspot/codegen/crm/deals/api/associations_api.rb,
lib/hubspot/codegen/crm/extensions/cards/api_error.rb,
lib/hubspot/codegen/crm/owners/models/error_detail.rb,
lib/hubspot/codegen/crm/owners/models/public_owner.rb,
lib/hubspot/codegen/crm/pipelines/models/next_page.rb,
lib/hubspot/codegen/crm/properties/models/property.rb,
lib/hubspot/codegen/crm/quotes/models/error_detail.rb,
lib/hubspot/codegen/crm/quotes/models/filter_group.rb,
lib/hubspot/codegen/crm/extensions/cards/api_client.rb,
lib/hubspot/codegen/crm/line_items/models/next_page.rb,
lib/hubspot/codegen/crm/objects/models/error_detail.rb,
lib/hubspot/codegen/crm/objects/models/filter_group.rb,
lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb,
lib/hubspot/codegen/crm/properties/models/next_page.rb,
lib/hubspot/codegen/crm/quotes/api/associations_api.rb,
lib/hubspot/codegen/crm/tickets/models/error_detail.rb,
lib/hubspot/codegen/crm/tickets/models/filter_group.rb,
lib/hubspot/codegen/crm/contacts/models/error_detail.rb,
lib/hubspot/codegen/crm/contacts/models/filter_group.rb,
lib/hubspot/codegen/crm/objects/api/associations_api.rb,
lib/hubspot/codegen/crm/products/models/error_detail.rb,
lib/hubspot/codegen/crm/products/models/filter_group.rb,
lib/hubspot/codegen/crm/tickets/api/associations_api.rb,
lib/hubspot/codegen/crm/companies/models/error_detail.rb,
lib/hubspot/codegen/crm/companies/models/filter_group.rb,
lib/hubspot/codegen/crm/contacts/api/associations_api.rb,
lib/hubspot/codegen/crm/extensions/cards/models/error.rb,
lib/hubspot/codegen/crm/pipelines/models/error_detail.rb,
lib/hubspot/codegen/crm/products/api/associations_api.rb,
lib/hubspot/codegen/crm/companies/api/associations_api.rb,
lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb,
lib/hubspot/codegen/crm/extensions/cards/configuration.rb,
lib/hubspot/codegen/crm/line_items/models/error_detail.rb,
lib/hubspot/codegen/crm/line_items/models/filter_group.rb,
lib/hubspot/codegen/crm/properties/models/error_detail.rb,
lib/hubspot/codegen/crm/properties/models/option_input.rb,
lib/hubspot/codegen/crm/line_items/api/associations_api.rb,
lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb,
lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb,
lib/hubspot/codegen/crm/properties/models/property_name.rb,
lib/hubspot/codegen/crm/associations/models/error_detail.rb,
lib/hubspot/codegen/crm/properties/models/property_group.rb,
lib/hubspot/codegen/crm/deals/models/simple_public_object.rb,
lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb,
lib/hubspot/codegen/crm/properties/models/property_create.rb,
lib/hubspot/codegen/crm/properties/models/property_update.rb,
lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb,
lib/hubspot/codegen/crm/objects/models/simple_public_object.rb,
lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb,
lib/hubspot/codegen/oauth/models/access_token_info_response.rb,
lib/hubspot/codegen/crm/associations/models/public_object_id.rb,
lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb,
lib/hubspot/codegen/crm/deals/models/simple_public_object_id.rb,
lib/hubspot/codegen/crm/extensions/cards/models/card_actions.rb,
lib/hubspot/codegen/crm/extensions/cards/models/error_detail.rb,
lib/hubspot/codegen/crm/extensions/cards/models/object_token.rb,
lib/hubspot/codegen/crm/products/models/simple_public_object.rb,
lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb,
lib/hubspot/codegen/crm/companies/models/simple_public_object.rb,
lib/hubspot/codegen/crm/extensions/cards/models/card_response.rb,
lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb,
lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb,
lib/hubspot/codegen/crm/quotes/models/simple_public_object_id.rb,
lib/hubspot/codegen/crm/associations/models/public_association.rb,
lib/hubspot/codegen/crm/extensions/cards/models/display_option.rb,
lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb,
lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb,
lib/hubspot/codegen/crm/tickets/models/simple_public_object_id.rb,
lib/hubspot/codegen/crm/contacts/models/simple_public_object_id.rb,
lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb,
lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body.rb,
lib/hubspot/codegen/crm/products/models/simple_public_object_id.rb,
lib/hubspot/codegen/crm/properties/models/property_group_create.rb,
lib/hubspot/codegen/crm/properties/models/property_group_update.rb,
lib/hubspot/codegen/crm/companies/models/simple_public_object_id.rb,
lib/hubspot/codegen/crm/extensions/cards/api/sample_response_api.rb,
lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb,
lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb,
lib/hubspot/codegen/crm/extensions/cards/models/card_display_body.rb,
lib/hubspot/codegen/crm/extensions/cards/models/top_level_actions.rb,
lib/hubspot/codegen/crm/line_items/models/simple_public_object_id.rb,
lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb,
lib/hubspot/codegen/crm/properties/models/batch_response_property.rb,
lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb,
lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb,
lib/hubspot/codegen/crm/extensions/cards/models/card_list_response.rb,
lib/hubspot/codegen/crm/extensions/cards/models/card_patch_request.rb,
lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb,
lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb,
lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb,
lib/hubspot/codegen/crm/extensions/cards/models/card_create_request.rb,
lib/hubspot/codegen/crm/extensions/cards/models/i_frame_action_body.rb,
lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb,
lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb,
lib/hubspot/codegen/crm/properties/models/batch_input_property_name.rb,
lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb,
lib/hubspot/codegen/crm/associations/models/public_association_multi.rb,
lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb,
lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb,
lib/hubspot/codegen/crm/products/models/public_object_search_request.rb,
lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb,
lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/extensions/cards/models/card_display_property.rb,
lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body_patch.rb,
lib/hubspot/codegen/crm/extensions/cards/models/card_object_type_body.rb,
lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline.rb,
lib/hubspot/codegen/crm/properties/models/batch_input_property_create.rb,
lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb,
lib/hubspot/codegen/crm/owners/models/collection_response_public_owner.rb,
lib/hubspot/codegen/crm/properties/models/collection_response_property.rb,
lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/extensions/cards/models/action_hook_action_body.rb,
lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb,
lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object.rb,
lib/hubspot/codegen/crm/extensions/cards/models/action_confirmation_body.rb,
lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result.rb,
lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/properties/models/batch_read_input_property_name.rb,
lib/hubspot/codegen/crm/properties/models/property_modification_metadata.rb,
lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object.rb,
lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb,
lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb,
lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object.rb,
lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object.rb,
lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_input.rb,
lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage.rb,
lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object.rb,
lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object.rb,
lib/hubspot/codegen/crm/properties/models/collection_response_property_group.rb,
lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_input.rb,
lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb,
lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object.rb,
lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object.rb,
lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input.rb,
lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_input.rb,
lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_input.rb,
lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_input.rb,
lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object.rb,
lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_input.rb,
lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object.rb,
lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object.rb,
lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object.rb,
lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object_id.rb,
lib/hubspot/codegen/crm/extensions/cards/models/integrator_card_payload_response.rb,
lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_input.rb,
lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object.rb,
lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object.rb,
lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object_id.rb,
lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb,
lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object.rb,
lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_id.rb,
lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object_id.rb,
lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb,
lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object_id.rb,
lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object_id.rb,
lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object_id.rb,
lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object_id.rb,
lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_batch_input.rb,
lib/hubspot/codegen/crm/deals/models/collection_response_with_total_simple_public_object.rb,
lib/hubspot/codegen/crm/quotes/models/collection_response_with_total_simple_public_object.rb,
lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object.rb,
lib/hubspot/codegen/crm/tickets/models/collection_response_with_total_simple_public_object.rb,
lib/hubspot/codegen/crm/contacts/models/collection_response_with_total_simple_public_object.rb,
lib/hubspot/codegen/crm/products/models/collection_response_with_total_simple_public_object.rb,
lib/hubspot/codegen/crm/companies/models/collection_response_with_total_simple_public_object.rb,
lib/hubspot/codegen/crm/line_items/models/collection_response_with_total_simple_public_object.rb

Overview

#CRM cards

#Allows an app to extend the CRM UI by surfacing custom cards in the sidebar of record pages. These cards are defined up-front as part of app configuration, then populated by external data fetch requests when the record page is accessed by a user.

The version of the OpenAPI document: v3

Generated by: openapi-generator.tech OpenAPI Generator version: 4.2.3

Defined Under Namespace

Modules: Crm, Helpers, OAuth Classes: Configuration, ConfigurationError, OAuthHelper

Constant Summary collapse

VERSION =
'2.0.0'
CLIENTS =
[
  'OAuth',
  'Crm::Associations',
  'Crm::Companies',
  'Crm::Contacts',
  'Crm::Deals',
  'Crm::Extensions::Cards',
  'Crm::LineItems',
  'Crm::Objects',
  'Crm::Owners',
  'Crm::Pipelines',
  'Crm::Products',
  'Crm::Properties',
  'Crm::Quotes',
  'Crm::Tickets'
].freeze

Class Method Summary collapse

Class Method Details

.configure {|Configuration.default| ... } ⇒ Object

Yields:



39
40
41
42
43
44
45
46
47
# File 'lib/hubspot-api-client.rb', line 39

def configure
  return Configuration.default unless block_given?
  yield(Configuration.default)
  CLIENTS.each do |client_class_name|
    config_class = Hubspot.const_get("#{client_class_name}::Configuration")
    yield(config_class.default)
  end
  Configuration.default
end