class CurrencyConverter::MissingExchangeRate

Missing Exchange Rate

Raised when the data for a supported currencies is nil or zero?.

Public Class Methods

new(from, to) click to toggle source
Calls superclass method
# File lib/currency_converter/exceptions.rb, line 6
def initialize(from, to)
  super("Foreign exchange rate from #{from} to #{to} is missing.")
end