public function getRate($fromCurrency, $toCurrency = null)
    {
        if (null === $toCurrency) {
            $toCurrency = $this->getBaseCurrency();
        }

        $this->checkCurrencies(array($fromCurrency, $toCurrency));

        return $this->exchanger->getRate($fromCurrency, $toCurrency);
    }