Method: Chef::SecretFetcher::Example#validate!
- Defined in:
- lib/chef/secret_fetcher/example.rb
#validate! ⇒ Object
33 34 35 36 37 |
# File 'lib/chef/secret_fetcher/example.rb', line 33 def validate! if config.class != Hash raise Chef::Exceptions::Secret::ConfigurationInvalid.new("The Example fetcher requires a hash of secrets") end end |