Update vehicle.rb

This commit is contained in:
2016-04-27 14:10:40 -04:00
parent 3589ea8685
commit f2a7c034d0

View File

@@ -30,6 +30,7 @@ class Vehicle < ActiveRecord::Base
private private
def get_details def get_details
if not self.vin?
@details = JSON.parse get_decoder.full(self.vin) @details = JSON.parse get_decoder.full(self.vin)
end end