This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-03 05:12:30 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Admin::SystemCheck::Message
|
2023-03-16 14:47:01 -07:00
|
|
|
attr_reader :key, :value, :action, :critical
|
2021-04-03 05:12:30 -07:00
|
|
|
|
2023-03-16 14:47:01 -07:00
|
|
|
def initialize(key, value = nil, action = nil, critical = false)
|
|
|
|
@key = key
|
|
|
|
@value = value
|
|
|
|
@action = action
|
|
|
|
@critical = critical
|
2021-04-03 05:12:30 -07:00
|
|
|
end
|
|
|
|
end
|