Sha256: d5a72eb1fe547a520089b8cef698bd63a064c70ae8880910bea7c9a04dde76a7

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

[![Build Status](https://secure.travis-ci.org/svankie/tannenbaum.png)](http://travis-ci.org/svankie/tannenbaum)

# Tannenbaum

Tannenbaum is an experimental tool for querying currency informal exchange rates.

## Installation

Add this line to your application's Gemfile:

    gem 'tannenbaum'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install tannenbaum

## Usage

    [1] pry(main)> require 'tannenbaum'
    => true
    [2] pry(main)> quoting = Tannenbaum::Quote.new
    => #<Tannenbaum::Quote:0x92993bc @provider=Tannenbaum::Providers::USD>
    [3] pry(main)> rates = quoting.ask
    => #<struct Tannenbaum::ExchangeRate
          sell=10.77,
          buy=10.72,
          timestamp= #<DateTime: 2014-01-13T18:50:02+00:00 ((2456671j,67802s,0n),+0s,2299161j)>,
          provider="elDolarBlue">

## Contributing

1. Fork it
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

1 entries across 1 versions & 1 rubygems

Version Path
tannenbaum-0.0.1 README.md