Sha256: 368d8913751372f26924748a3be9159de42732dad3d51c4fbbc665ef338ea6a5

Contents?: true

Size: 546 Bytes

Versions: 3

Compression:

Stored size: 546 Bytes

Contents

require 'hashie'
require 'httparty'
require 'utils/compact'

require 'cordial/version'
require 'cordial/client'

# Models
require 'cordial/order'
require 'cordial/cart'

# Controllers
require 'cordial/contacts'
require 'cordial/contactactivities'
require 'cordial/products'
require 'cordial/orders'
require 'cordial/automation_templates'

module Cordial
  class << self
    attr_accessor :config
  end

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

  class Configuration
    attr_accessor :api_key
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cordial-1.3.0 lib/cordial.rb
cordial-1.2.0 lib/cordial.rb
cordial-1.1.0 lib/cordial.rb