A simple configuration class
Add this line to your application's Gemfile:
gem 'buff-config'
And then execute:
$ bundle
Or install it yourself as:
$ gem install buff-config
require 'buff/config/json'
class MyConfig < Buff::Config::JSON
attribute 'chef.chef_server_url'
end
my_config = MyConfig.new
my_config.chef.chef_server_url #=> nil
- Jamie Winsor ([email protected])
- Kyle Allan ([email protected])
Thank you to all of our Contributors, testers, and users.