Sha256: 871decc034f8167f6475c63d30b2f8620f8bef3ac5aab6fe41e2c87f2ff678e5
Contents?: true
Size: 532 Bytes
Versions: 14
Compression:
Stored size: 532 Bytes
Contents
module Relaton module Config def configure if block_given? yield configuration end end def configuration @configuration ||= Configuration.new end end class Configuration attr_accessor :logs, :use_api, :api_host def initialize @logs = %i(info error) # allowed values: :info, :warning, :error, :debug # @TODO change to true when we start using api.relaton.org @use_api = false @api_host = "https://api.relaton.org" end end extend Config end
Version data entries
14 entries across 14 versions & 1 rubygems