module DashOverlord::Config
Public Instance Methods
get(key)
click to toggle source
# File lib/dash_overlord/config.rb, line 13 def get(key) return data[key] if data.key?(key) ENV.fetch(key.to_s.upcase, ENV.fetch("#{@prefix}#{key.to_s.upcase}")) end
set(key, value)
click to toggle source
# File lib/dash_overlord/config.rb, line 9 def set(key, value) data[key] = value end