Class: Hubspot::Client

Inherits:
Object
  • Object
show all
Includes:
Discovery::BaseModuleClient
Defined in:
lib/hubspot/client.rb

Instance Attribute Summary collapse

Attributes included from Discovery::BaseModuleClient

#params

Class Method Summary collapse

Methods included from Discovery::BaseModuleClient

included

Instance Attribute Details

#access_tokenObject (readonly)

Returns the value of attribute access_token.



5
6
7
# File 'lib/hubspot/client.rb', line 5

def access_token
  @access_token
end

#api_keyObject (readonly)

Returns the value of attribute api_key.



5
6
7
# File 'lib/hubspot/client.rb', line 5

def api_key
  @api_key
end

Class Method Details

.api_modulesObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/hubspot/client.rb', line 7

def self.api_modules
  %i[
    automation
    cms
    communication_preferences
    conversations
    crm
    events
    files
    marketing
    o_auth
    settings
    webhooks
  ].freeze
end