Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 383 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 383 Bytes

NbpExchange

Build Status

Get average exchange rate for PLN (polish zloty) from NBP for given date.

It supports dates from 2011-08-01

##Usage:

  currency = NbpExchange::Currency.new('usd')

  rate = currency.rate(Date.parse("2011-11-02"))
  rate.average_exchange_rate