mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update vehicle.rb
This commit is contained in:
@@ -30,7 +30,7 @@ class Vehicle < ActiveRecord::Base
|
|||||||
private
|
private
|
||||||
|
|
||||||
def get_details
|
def get_details
|
||||||
if not self.vin?
|
if not self.vin.nil?
|
||||||
@details = JSON.parse get_decoder.full(self.vin)
|
@details = JSON.parse get_decoder.full(self.vin)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user