class OpenExchangeRates::Rates::RateNotFoundError

Public Class Methods

new(from_curr, to_curr) click to toggle source
Calls superclass method
# File lib/open_exchange_rates/rates.rb, line 15
def initialize(from_curr, to_curr)
  msg = "Rate not found for #{from_curr} => #{to_curr}"
  super(msg)
end