Update vehicle.rb

This commit is contained in:
2016-04-27 10:33:34 -04:00
parent 12aeb22ac3
commit 79d05350db

View File

@@ -23,10 +23,7 @@ class Vehicle < ActiveRecord::Base
end end
def self.get_details def self.get_details
if self.vin? return JSON.parse get_decoder.full(self.vin)
return JSON.parse get_decoder.full(self.vin)
end
return nil
end end
private private