lib/vin_service.rb in blackbook_client-0.1.0 vs lib/vin_service.rb in blackbook_client-0.1.1

- old
+ new

@@ -5,10 +5,10 @@ def range_by_vin(vin, query_params = {}) url = "#{VEHICLE_BY_VIN_URL}/#{vin}" begin - response = HTTParty.get(url, headers: headers, query: query_params, :debug_output => $stdout) + response = HTTParty.get(url, headers: headers, query: query_params) process_response(JSON.parse(response)) rescue => e [{ error: e.to_s }, 500] end end \ No newline at end of file