mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update vehicle.rb
This commit is contained in:
1 parent
12aeb22ac3
commit
79d05350db
1 file changed
+1
-4
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user