Sha256: d0298330584f946cad71d1d5870a1f95a766742f1dfc68d389d8a7c9a06ccbed
Contents?: true
Size: 477 Bytes
Versions: 25
Compression:
Stored size: 477 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 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 end end extend Config end
Version data entries
25 entries across 25 versions & 1 rubygems
Version | Path |
---|---|
relaton-1.9.1 | lib/relaton/config.rb |
relaton-1.9.0 | lib/relaton/config.rb |
relaton-1.8.1 | lib/relaton/config.rb |
relaton-1.8.0 | lib/relaton/config.rb |
relaton-1.7.9 | lib/relaton/config.rb |