-
-
Notifications
You must be signed in to change notification settings - Fork 25
Extending Chamber
jfelchner edited this page Oct 28, 2014
·
1 revision
In any case that you need to set configuration options or do advanced post processing on your YAML data, you'll want to create your own object for accessing it. Don't worry, Chamber will take you 98% of the way there.
Just include it like so:
class Settings
extend Chamber
end
Now, rather than using Chamber[:application_host]
to access your
environment, you can simply use Settings[:application_host]
.
Copyright ©2023
- Release News
- Gem Comparison
- 12-Factor App Rebuttal
- Environment Variable Problems
- Installation
- Basics
- Defining Settings
- Accessing Settings
- Verifying Settings
- Namespaces
- Environment Variables
- Integrations
- Encryption
- Advanced Usage
- Command Line Reference