Confman

Ruby client to access Confman Server

Installation

Add this line to your application's Gemfile:

gem 'confman'

And then execute:

$ bundle

Or install it yourself as:

$ gem install confman

Usage

  Confman.server = '<confman server>'
  Confman.key = '<key>'
  Confman.secret = '<secret>'

  Confman.load_conf_set('somename', 'One')
  # Assuming the presence of conf pair ('foo', 'bar')
  Confman.somename.foo.should == 'bar'