Currency Converter

Build Status Code Climate Test Coverage Dependency Status Inline docs

Currency Converter is a library that allows you to get the exchange rate and converstion of one currency to another. This library uses the API of the European Central Bank via



gem 'currency_converter'


gem install currency_converter

Use it

require 'currency_converter'

# simple convert
CC.convert(12, from: 'EUR', to: 'USD')

# convert with specific date
CC.convert(12, from: 'EUR', to: 'USD', at: '2015-07-12')