Module: EasyHubspot

Defined in:
lib/easy_hubspot.rb,
lib/easy_hubspot/base.rb,
lib/easy_hubspot/deal.rb,
lib/easy_hubspot/client.rb,
lib/easy_hubspot/contact.rb,
lib/easy_hubspot/product.rb,
lib/easy_hubspot/version.rb,
lib/easy_hubspot/line_item.rb,
lib/easy_hubspot/exceptions.rb,
lib/easy_hubspot/generators/install_generator.rb

Overview

EasyHubspot

Defined Under Namespace

Modules: Generators Classes: Base, Client, Configuration, Contact, Deal, Error, HubspotApiError, LineItem, Product

Constant Summary collapse

VERSION =
'1.0.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

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

Yields:



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

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