glitch-soc/mastodon

View on GitHub
app/lib/admin/system_check/message.rb

Summary

Maintainability
A
0 mins
Test Coverage
# 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