Module: NotSoEasyHubspot

Defined in:
lib/not_so_easy_hubspot.rb,
lib/not_so_easy_hubspot/base.rb,
lib/not_so_easy_hubspot/deal.rb,
lib/not_so_easy_hubspot/client.rb,
lib/not_so_easy_hubspot/contact.rb,
lib/not_so_easy_hubspot/version.rb,
lib/not_so_easy_hubspot/exceptions.rb

Overview

NotSoEasyHubspot

Defined Under Namespace

Classes: Base, Client, Configuration, Contact, Deal, Error, HubspotApiError

Constant Summary collapse

VERSION =
'0.2.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



17
18
19
# File 'lib/not_so_easy_hubspot.rb', line 17

def configuration
  @configuration
end

Class Method Details

.config {|configuration| ... } ⇒ Object

Yields:



20
21
22
23
# File 'lib/not_so_easy_hubspot.rb', line 20

def self.config
  self.configuration ||= Configuration.new
  yield(configuration)
end