Sha256: d25a71253767dccd0e8a94f217b73b41980c8d5fe795e51e83447a315baa8028
Contents?: true
Size: 608 Bytes
Versions: 9
Compression:
Stored size: 608 Bytes
Contents
module Canzea # Configuration defaults @config = { :log_level => "verbose", :catalog_location => "/opt/canzea-catalog", :catalog_git => "git@gitlab.com:canzea/ecosystem-catalog.git", :catalog_branch => "develop", :git_repo => "/opt/canzea-profile", :logging_root => Dir.home() } @valid_config_keys = @config.keys # Configure through hash def self.configure(opts = {}) opts.each {|k,v| @config[k.to_sym] = v if @valid_config_keys.include? k.to_sym} end def self.config @config end end
Version data entries
9 entries across 9 versions & 1 rubygems