A simple YAML config file loader.
require 'schrank'
Load your config, providing defaults.
config = Schrank.load(Rails.root.join('config/production.yml')) do
{
provider: 's3',
prefix: 'folder/'
}
end
See the docs for more details.
MIT.
Contributions welcome! Create a pull request and we'll get back to you as soon as possible. Open an issue to discuss anything big.
This project has a code of conduct, found in the root of this repo. Please read it before contributing.