Update vehicles_controller.rb

This commit is contained in:
ricky committed 2016-04-27 10:30:14 -04:00
1 parent 09f531ce39
commit 12aeb22ac3
1 file changed
+1 -1
+1 -1
View File
@@ -40,7 +40,7 @@ class VehiclesController < ApplicationController
@customer = @vehicle.qbo_customer.name if @vehicle.qbo_customer
if @vehicle.vin?
details = @vehicles.get_details
details = @vehicle.get_details
@style = details['years'][0]['styles'][0]['name']
@drive = details['drivenWheels']
@doors = details['numOfDoors']