Sha256: a0ca07a39224632eb2657e1ef6847a6ef164d209f26a83567d4c3f3c6ddfb8ec

Contents?: true

Size: 628 Bytes

Versions: 2

Compression:

Stored size: 628 Bytes

Contents

require "duty_calculator/configuration"
require "duty_calculator/currency"
require "duty_calculator/category"
require "duty_calculator/calculation"
require "duty_calculator/dootie"
require "duty_calculator/error_messages"
require "duty_calculator/response"
require "duty_calculator/version"

require "faraday"
require "faraday_middleware"
require "hashie"

module DutyCalculator
  class << self
    attr_writer :configuration

    def configure
      yield(configuration)
    end

    def configuration
      @configuration ||= Configuration.new
    end

    def reset
      @configuration = Configuration.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
duty_calculator-0.0.8 lib/duty_calculator.rb
duty_calculator-0.0.7 lib/duty_calculator.rb