Class: KOSapiClient::ResponsePreprocessor
- Inherits:
-
Object
- Object
- KOSapiClient::ResponsePreprocessor
- Defined in:
- lib/kosapi_client/response_preprocessor.rb
Instance Method Summary collapse
Instance Method Details
#preprocess(result) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/kosapi_client/response_preprocessor.rb', line 6 def preprocess(result) response = extract_parsed(result) result = stringify_keys(response) entries_to_array(result) merge_contents(result) result end |