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:
@@ -23,11 +23,8 @@ 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
|
end
|
||||||
return nil
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user