class BestBuy::APIHelper

Public Instance Methods

parse_response(response) click to toggle source
# File lib/best_buy/helpers/api_helper.rb, line 7
def parse_response(response)
  JSON.parse(response).deep_transform_keys do |key|
    key.to_s.underscore.to_sym
  end
end