debian-mirror-gitlab/app/models/vulnerability.rb

22 lines
355 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# frozen_string_literal: true
# Placeholder class for model that is implemented in EE
class Vulnerability < ApplicationRecord
2022-04-04 11:22:00 +05:30
include EachBatch
2021-01-29 00:20:46 +05:30
include IgnorableColumns
def self.link_reference_pattern
nil
end
def self.reference_prefix
'[vulnerability:'
end
def self.reference_postfix
']'
end
2020-11-24 15:15:51 +05:30
end
2021-06-08 01:23:25 +05:30
Vulnerability.prepend_mod