currency_exchange

Download and Install

gem install google_currency_exchange

or on your Gemfile:

gem "google_currency_exchange"

and run

bundle install

Usage


require 'google_currency_exchange'

#Exchange from US dollars(USD) to Indian rupees(INR)

currency = GoogleCurrencyExchange.new(1, 'USD','INR')
currency.process  #=> 63.4564

Contributing to google_currency_exchange

Feel free to fork the project and contribute.

Copyright (c) 2015 Alok Anand. Read MIT-LICENSE for full details5