Module: RGovData::CommonConfig
Overview
This module is used to include basic support to access the shared RGovData::Config instance
Instance Method Summary collapse
-
#config ⇒ Object
Returns the current config instance.
-
#require_config_file ⇒ Object
Sets the requirement to have a config file Must be called before config is invoked.
Instance Method Details
#config ⇒ Object
Returns the current config instance
5 6 7 |
# File 'lib/rgovdata/config/common_config.rb', line 5 def config RGovData::Config.instance end |
#require_config_file ⇒ Object
Sets the requirement to have a config file Must be called before config is invoked
10 11 12 |
# File 'lib/rgovdata/config/common_config.rb', line 10 def require_config_file RGovData::Config.require_config_file end |