-
-
Save thomasvanholder/8d35c94bbfe00fcb8922f93f9fd8d736 to your computer and use it in GitHub Desktop.
How to use credentials in ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nested key | |
Rails.application.credentials.stripe[:publishable_key] | |
# single key | |
Rails.application.credentials.google_api_key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment