This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
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
|