message.rb 280 B

123456789101112
  1. # frozen_string_literal: true
  2. class Admin::SystemCheck::Message
  3. attr_reader :key, :value, :action, :critical
  4. def initialize(key, value = nil, action = nil, critical = false)
  5. @key = key
  6. @value = value
  7. @action = action
  8. @critical = critical
  9. end
  10. end