-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added autoloading of secrets when accessing value
Off by default, this change adds an `autoload` method to the `Genesis::Secret` class that will load the secret if it hasn't been loaded yet. This is useful for secrets that are not needed in all cases, but are needed in some cases. The Secret::Plan class has been updated to add an autoload method that will turn on autoloading for all secrets in the plan as a convenience.
- Loading branch information
1 parent
f1d5e6f
commit 38ca21d
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
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
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