infertux/ubea

View on GitHub
lib/ubea/config.rb

Summary

Maintainability
A
0 mins
Test Coverage
require "ostruct"

module Ubea
  class Config
    def self.default
      config = OpenStruct.new

      config.debug = false
      config.default_fiat_currency = "USD" # ideally the most used currency so we do as little conversions as possible
      config.exchange_settings = {}

      config
    end
  end
end