Module: HubspotClient

Defined in:
lib/hubspot_client.rb,
lib/hubspot_client/version.rb,
lib/hubspot_client/client/form.rb,
lib/hubspot_client/configuration.rb,
lib/hubspot_client/model/company.rb,
lib/hubspot_client/model/contact.rb,
lib/hubspot_client/client/company.rb,
lib/hubspot_client/client/contact.rb,
lib/hubspot_client/model/property.rb,
lib/hubspot_client/client/properties.rb,
lib/hubspot_client/client/submission.rb,
lib/hubspot_client/model/communication_preference.rb,
lib/hubspot_client/client/communication_preference.rb

Defined Under Namespace

Modules: Client, Model Classes: Configuration

Constant Summary collapse

VERSION =
'0.3.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



23
24
25
# File 'lib/hubspot_client.rb', line 23

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



31
32
33
# File 'lib/hubspot_client.rb', line 31

def self.configure
  yield(configuration)
end

.resetObject



27
28
29
# File 'lib/hubspot_client.rb', line 27

def self.reset
  @configuration.reset!
end