Skip to content

gksinghjsr/top_level_config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TopLevelConfig

Add a top_level.yml config file with the default constants. These values are inherited in every environments constant file. However, these are overridden by the values in the environments constant file.

As a result you you only need keep values in the environment constant file for those constants which need to be different from default values.

In the GlobalConstant file, call the method TopLevelConfig.get_environment_constants to get the overall environments constants.

Installation

Add this line to your application's Gemfile:

gem 'TopLevelConfig'

And then execute:

$ bundle

Or install it yourself as:

$ gem install TopLevelConfig

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

#additional things

Code checks

Has support for codacy checks

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages