diff --git a/app/models/vehicle.rb b/app/models/vehicle.rb index e0db051..f524989 100644 --- a/app/models/vehicle.rb +++ b/app/models/vehicle.rb @@ -52,6 +52,7 @@ class Vehicle < ActiveRecord::Base # init method to pull JSON details from Edmunds def get_details + # TODO handle ERRORS if self.vin? @details = JSON.parse get_decoder.full(self.vin) end