money-converter¶ ↑
Download and Install¶ ↑
gem install money-converter
or on your Gemfile:
gem "money-converter", "~> 1.0.0"
and run
bundle install
Usage¶ ↑
require 'money_converter' money = MoneyConverter.new('BRL','USD',10.00) money.exchange #=> 4.74113
Changelog¶ ↑
Version 1.0.0
-
The method
convert_currency
has been replaced byexchange
in this version.
Contributing to money-converter¶ ↑
-
Fork the project.
-
Start a feature/bugfix branch.
-
Commit and push until you are happy with your contribution.
-
Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.
Copyright © 2012 LEONEL MORAIS. See LICENSE.txt for further details.