Alephant::Cache
Simple abstraction layer over S3 for get/put.
Installation
Add this line to your application's Gemfile:
gem 'alephant-cache'
And then execute:
$ bundle
Or install it yourself as:
$ gem install alephant-cache
Usage
require 'alephant/cache'
cache = Alephant::Cache.new('bucket_id', 'base/path')
cache.put('id', "string data")
cache.get('id')
# => "string data"
Contributing
- Fork it ( http://github.com/
/alephant-cache/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 new Pull Request