Sha256: c3b4a02f0d2912e1c5d12c3e3c629f50a4a092f68fa25ea6e8afaeeff61661a6
Contents?: true
Size: 427 Bytes
Versions: 2
Compression:
Stored size: 427 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) # @TODO change to true when we start using api.relaton.org @use_api = false end end extend Config end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
relaton-1.7.8 | lib/relaton/config.rb |
relaton-1.7.7 | lib/relaton/config.rb |