Sha256: 2e2561ebf006ea78354c803e43cfa70814bd571fdb58375150434071f34c2bc3

Contents?: true

Size: 1016 Bytes

Versions: 8

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

8 entries across 8 versions & 1 rubygems

Version Path
alephant-lookup-0.1.6 README.md
alephant-lookup-0.1.5 README.md
alephant-lookup-0.1.4 README.md
alephant-lookup-0.1.3 README.md
alephant-lookup-0.1.2 README.md
alephant-lookup-0.1.1 README.md
alephant-lookup-0.1.0 README.md
alephant-lookup-0.0.4 README.md