1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
# Buff::Config
[](http://badge.fury.io/rb/buff-config)
[](https://travis-ci.org/RiotGames/buff-config)
A simple configuration class
## Installation
Add this line to your application's Gemfile:
gem 'buff-config'
And then execute:
$ bundle
Or install it yourself as:
$ gem install buff-config
## Usage
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
# Authors and Contributors
* Jamie Winsor (<jamie@vialstudios.com>)
* Kyle Allan (<kallan@riotgames.com>)
Thank you to all of our [Contributors](https://github.com/RiotGames/buff-config/graphs/contributors), testers, and users.
|