Update vehicle.rb

This commit is contained in:
2016-04-27 14:13:19 -04:00
parent bb9f251e69
commit 14d10bd0e6

View File

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