Class: Beatport::Support::Parser
- Inherits:
-
HTTParty::Parser
- Object
- HTTParty::Parser
- Beatport::Support::Parser
- Defined in:
- lib/beatport/support/parser.rb
Overview
A custom HTTParter parse that underscores the keys of the result
Instance Method Summary collapse
Instance Method Details
#parse ⇒ Object
5 6 7 |
# File 'lib/beatport/support/parser.rb', line 5 def parse Inflector.process_keys(super) { |k| Inflector.underscore(k) } end |