def parse(raw_data)
      raw_data.each_with_object(sell: {}, buy: {}) do |row, result|
        sell_rate = row[11].to_f
        buy_rate  = row[9].to_f
        currency  = row[1][0..2].to_sym
        currency  = :JPY if currency == '100'.to_sym

        result[:sell][currency] = sell_rate
        result[:buy][currency]  = buy_rate
      end
    end
def parse(raw_data)
      raw_data.each_with_object(sell: {}, buy: {}) do |row, result|
        sell_rate = row[11].to_f
        buy_rate  = row[9].to_f
        currency  = row[1][0..2].to_sym
        currency  = :JPY if currency == '100'.to_sym

        result[:sell][currency] = sell_rate
        result[:buy][currency]  = buy_rate
      end
    end
Parse the #raw_exchange_rates returned in response
 @param [Array] of the raw_data scraped
 @return [Hash] of exchange rates for selling and buying
   {
     { sell: { SYM: rate }, { SYM: rate }, ... },
     { buy:  { SYM: rate }, { SYM: rate }, ... }
   }