Sha256: 686a67ea2f4cac15399938095fbc3987699512e29544f04896a2332b3f77a768
Contents?: true
Size: 1016 Bytes
Versions: 3
Compression:
Stored size: 1016 Bytes
Contents
# Alephant::Lookup Lookup a location in S3 using DynamoDB. [![Build Status](https://travis-ci.org/BBC-News/alephant-lookup.png)](https://travis-ci.org/BBC-News/alephant-lookup) [![Gem Version](https://badge.fury.io/rb/alephant-lookup.png)](http://badge.fury.io/rb/alephant-lookup) ## Installation Add this line to your application's Gemfile: gem 'alephant-lookup' And then execute: $ bundle Or install it yourself as: $ gem install alephant-lookup ## Usage ```rb require 'alephant-lookup' lookup = Alephant::Lookup.create('table_name', 'component_id') opts = { :key => :value } location = "s3-bucket/location" lookup.write(opts, location) lookup.read(opts) # => s3-bucket/location ``` ## Contributing 1. Fork it ( http://github.com/<my-github-username>/alephant-lookup/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
alephant-lookup-0.0.3 | README.md |
alephant-lookup-0.0.2 | README.md |
alephant-lookup-0.0.1 | README.md |