Sha256: 2704ad728a1d5f667a1020bfb04d61f6faa9b29180d8813779b3c2886a4665d8

Contents?: true

Size: 545 Bytes

Versions: 1

Compression:

Stored size: 545 Bytes

Contents

require "simple_hubspot/version"

require 'ostruct'
require 'json'
require 'rest-client'
require 'logger'

require 'simple_hubspot/utils'
require 'simple_hubspot/api_client'
require 'simple_hubspot/contact'

module SimpleHubspot

  class << self
    attr_accessor :configuration
  end

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

  class Configuration
    attr_accessor :hapikey, :api_base

    def initialize
      @hapikey = ''
      @api_base = 'https://api.hubapi.com'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_hubspot-0.1.1 lib/simple_hubspot.rb