module RGovData::CommonConfig
This module is used to include basic support to access the shared RGovData::Config
instance
Public Instance Methods
config()
click to toggle source
Returns the current config instance
# File lib/rgovdata/config/common_config.rb, line 5 def config RGovData::Config.instance end
require_config_file()
click to toggle source
Sets the requirement to have a config file Must be called before config is invoked
# File lib/rgovdata/config/common_config.rb, line 10 def require_config_file RGovData::Config.require_config_file end