DiscoveryEtcdIoClient
Installation
gem 'discovery_etcd_io_client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install discovery_etcd_io_client
Usage
client = DiscoveryEtcdIoClient.new(token: 'xxxxxxxxxx')
client.set('foo', value: 1 )
client.get('foo').value #=> "1"
Contributing
- Fork it ( https://github.com/hoshinotsuyoshi/discovery_etcd_io_client/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request