class OpenExchangeRates::Response
Attributes
raw_data[R]
Public Class Methods
new(raw_data)
click to toggle source
# File lib/open_exchange_rates/response.rb, line 6 def initialize(raw_data) @raw_data = raw_data end
Public Instance Methods
base_currency()
click to toggle source
# File lib/open_exchange_rates/response.rb, line 14 def base_currency raw_data["base"] end
Also aliased as: base
rates()
click to toggle source
# File lib/open_exchange_rates/response.rb, line 10 def rates raw_data["rates"] end