Method: ChefAPI::Defaults.config
- Defined in:
- lib/chef-api/defaults.rb
.config ⇒ Hash
The Chef API configuration
27 28 29 30 |
# File 'lib/chef-api/defaults.rb', line 27 def config path = config_path @config ||= path.exist? ? JSON.parse(path.read) : {} end |