Sha256: 3b2f23cae162fac04d671754ee1b2dd7d35612fc544694cffeb923a4689c68dc

Contents?: true

Size: 543 Bytes

Versions: 5

Compression:

Stored size: 543 Bytes

Contents

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

require "faraday"
require "faraday_middleware"

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

5 entries across 5 versions & 1 rubygems

Version Path
duty_calculator-0.0.5 lib/duty_calculator.rb
duty_calculator-0.0.4 lib/duty_calculator.rb
duty_calculator-0.0.3 lib/duty_calculator.rb
duty_calculator-0.0.2 lib/duty_calculator.rb
duty_calculator-0.0.1 lib/duty_calculator.rb