class ExchangeRatesApi::Client

Client requests

Public Class Methods

new() click to toggle source
# File lib/exchange_rates_api/client.rb, line 10
def initialize; end

Private Instance Methods

provider(name) click to toggle source
# File lib/exchange_rates_api/client.rb, line 14
def provider(name)
  case name
    when 'fixer' then 'https://data.fixer.io/api'
    else 'https://api.exchangeratesapi.io'
  end
end