Class: Privatbank::P24::ExchangeRates
- Inherits:
-
Object
- Object
- Privatbank::P24::ExchangeRates
- Includes:
- HTTParty
- Defined in:
- lib/privatbank/p24/exchange_rates.rb
Class Method Summary collapse
Class Method Details
.card ⇒ Object
16 17 18 |
# File 'lib/privatbank/p24/exchange_rates.rb', line 16 def card parse get('/pubinfo?cardExchange') end |
.cash ⇒ Object
12 13 14 |
# File 'lib/privatbank/p24/exchange_rates.rb', line 12 def cash parse get('/pubinfo?exchange&coursid=5') end |
.nbu ⇒ Object
20 21 22 |
# File 'lib/privatbank/p24/exchange_rates.rb', line 20 def nbu parse get('/pubinfo?exchange&coursid=3') end |