catstodon/app/lib/admin/system_check/message.rb

12 lines
280 B
Ruby

# frozen_string_literal: true
class Admin::SystemCheck::Message
attr_reader :key, :value, :action, :critical
def initialize(key, value = nil, action = nil, critical = false)
@key = key
@value = value
@action = action
@critical = critical
end
end