2021-04-03 14:12:30 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Admin::SystemCheck::Message
|
2023-03-16 22:47:01 +01:00
|
|
|
attr_reader :key, :value, :action, :critical
|
2021-04-03 14:12:30 +02:00
|
|
|
|
2023-03-16 22:47:01 +01:00
|
|
|
def initialize(key, value = nil, action = nil, critical = false)
|
|
|
|
@key = key
|
|
|
|
@value = value
|
|
|
|
@action = action
|
|
|
|
@critical = critical
|
2021-04-03 14:12:30 +02:00
|
|
|
end
|
|
|
|
end
|