Class: Apis::Currency

Inherits:
Object
  • Object
show all
Defined in:
lib/apis/endpoints/currency.rb

Overview

Class to fetch currency

Instance Method Summary collapse

Instance Method Details

#arionFaraday::Response

Get currency data from Arion

Returns:

  • (Faraday::Response)

    Api result.



9
10
11
# File 'lib/apis/endpoints/currency.rb', line 9

def arion
  Apis.client.get('/currency/arion')
end

#lbFaraday::Response

Get currency data from Landsbankinn

Returns:

  • (Faraday::Response)

    Api result.



23
24
25
# File 'lib/apis/endpoints/currency.rb', line 23

def lb
  Apis.client.get('/currency/lb')
end

#m5Faraday::Response

Get currency data from m5

Returns:

  • (Faraday::Response)

    Api result.



16
17
18
# File 'lib/apis/endpoints/currency.rb', line 16

def m5
  Apis.client.get('/currency/m5')
end