Class: Privatbank::P24::ExchangeRates

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/privatbank/p24/exchange_rates.rb

Class Method Summary collapse

Class Method Details

.cardObject



16
17
18
# File 'lib/privatbank/p24/exchange_rates.rb', line 16

def card
  parse get('/pubinfo?cardExchange')
end

.cashObject



12
13
14
# File 'lib/privatbank/p24/exchange_rates.rb', line 12

def cash
  parse get('/pubinfo?exchange&coursid=5')
end

.nbuObject



20
21
22
# File 'lib/privatbank/p24/exchange_rates.rb', line 20

def nbu
  parse get('/pubinfo?exchange&coursid=3')
end