Class: Convertator::Providers::CbrProvider

Inherits:
Middleware
  • Object
show all
Defined in:
lib/convertator/providers/cbr_provider.rb

Constant Summary collapse

SERVICE_URI =
'http://www.cbr.ru/scripts/xml_daily.asp'.freeze

Instance Attribute Summary

Attributes inherited from Middleware

#prev

Instance Method Summary collapse

Instance Method Details

#callObject



9
10
11
# File 'lib/convertator/providers/cbr_provider.rb', line 9

def call
  default_rates.merge parse(fetch)
end