This for converting currency. It will always give the present currency rate.
Add this line to your application's Gemfile:
gem 'money_valuer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install money_valuer
MoneyValuer.check_rate(amount,from,to)
- amount - This for specify amount
- from - From which currency.It should be ISO currency code format.
- to - To which currency format
Bug reports and pull requests are welcome on GitHub at https://github.com/sobisunny/money_valuer.