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

13 lines
280 B
Ruby
Raw Normal View History

# 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