Sha256: 47330e2af9d7eb6f17ceee40655f0847dc4d8ef652c2d9fae99bea1a494f3904

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

require "second_amendment_wholesale/base"
require "second_amendment_wholesale/version"

require "second_amendment_wholesale/api"
require "second_amendment_wholesale/attribute"
require "second_amendment_wholesale/catalog"
require "second_amendment_wholesale/category"
require "second_amendment_wholesale/error"
require "second_amendment_wholesale/image"
require "second_amendment_wholesale/inventory"
require "second_amendment_wholesale/order"
require "second_amendment_wholesale/response"
require "second_amendment_wholesale/shipping"
require "second_amendment_wholesale/user"

module SecondAmendmentWholesale

  class << self
    attr_accessor :config
  end

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

  def self.configure
    yield(config)
  end

  class Configuration
    attr_accessor :proxy_address
    attr_accessor :proxy_port
    attr_accessor :user_agent

    def initialize
      @proxy_address ||= nil
      @proxy_port    ||= nil
      @user_agent    ||= "SecondAmendmentWholesaleRubyGem/#{SecondAmendmentWholesale::VERSION}".freeze
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
second_amendment_wholesale-1.0.5 lib/second_amendment_wholesale.rb
second_amendment_wholesale-1.0.3 lib/second_amendment_wholesale.rb
second_amendment_wholesale-1.0.2 lib/second_amendment_wholesale.rb
second_amendment_wholesale-1.0.1 lib/second_amendment_wholesale.rb
second_amendment_wholesale-1.0.0 lib/second_amendment_wholesale.rb