0.0
No release in over a year
Currency calculator that receives exchange rates through the TCMB daily foreign exchange connection. Exchange rates can be called as functions or hash value.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.4.5
~> 2.5.1
~> 0.1.1
~> 0.3.1
 Project Readme

TCMB EXCHANGER

Calculates the exchange rates over the daily exchange rates given by the TCMB(Türkiye Cumhuriyet Merkez Bankası) link.

Installation

gem install tcmb_exchanger

Example

require 'tcmb_exchanger'

t = TCMB_exchanger.new
t.process # fetch and calculate values

t.exchanges.keys # show all exchange values

t.exchanges['USD']['for_buy'] # get forex buy value of usd
t.usd.for_buy                 # functional way to get forex buy value of usd