mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update vehicle.rb
This commit is contained in:
1 parent
bb9f251e69
commit
14d10bd0e6
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user