zammad/app/models/system_report/plugin.rb
2026-01-02 15:41:09 +02:00

21 lines
380 B
Ruby

# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
class SystemReport::Plugin
include Mixin::RequiredSubPaths
def self.list
@list ||= descendants.sort_by(&:name)
end
def self.name_plugin
name.sub('SystemReport::Plugin::', '')
end
def self.path
name_plugin.split('::')
end
def fetch
raise NotImplementedError
end
end