Class: BestBuy::APIHelper
- Inherits:
-
Object
- Object
- BestBuy::APIHelper
- Defined in:
- lib/best_buy/helpers/api_helper.rb
Instance Method Summary collapse
Instance Method Details
#parse_response(response) ⇒ Object
7 8 9 10 11 |
# 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 |