Skip to content

Payal13/currency_converter

 
 

Repository files navigation

Run this rake task : rake currency:fetch_latest_conversion_factor

For console App : 

* input = 100 (Any amount you want to put as input)
* from_currency = Currency.where(name: 'USD').first
* to_currency = Currency.where(name: 'INR').first
* from_currency.conversion_rate(to_currency) * input

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 77.5%
  • HTML 17.3%
  • JavaScript 2.4%
  • CSS 2.4%
  • CoffeeScript 0.4%