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