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