Kayvee
A simple key value store with multiple backing implementations.
Installation
Add this line to your application's Gemfile:
gem 'kayvee'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kayvee
Usage
store = Kayvee::Store.new(:s3, aws_access_key: '', ... )
key = store.set('hello', 'world')
key.read
=> 'world'
store = Kayvee::Store.new(:redis, host: 'redis://locahost')
key = store.set('hello', 'world')
key.read
=> 'world'
Contributing
- Fork it ( https://github.com/[my-github-username]/kayvee/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