lib/vin_service.rb in blackbook_client-0.1.5 vs lib/vin_service.rb in blackbook_client-0.1.6

- old
+ new

@@ -8,10 +8,10 @@ def range_by_vin(vin, query_params = {}) url = "#{VEHICLE_BY_VIN_URL}/#{vin}" begin response = HTTParty.get(url, headers: headers, query: query_params) - process_response(JSON.parse(response)) + process_response(JSON.parse(response), :map_fields) rescue => e [{ error: e.to_s }, 500] end end end