Skip to content

Payal13/currency_converter

This branch is up to date with apsc92/currency_converter:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Bhuvna Prabhu
Sep 25, 2018
b2ceef1 · Sep 25, 2018

History

13 Commits
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018
Sep 25, 2018

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%