base_check.rb 299 B

123456789101112131415161718192021
  1. # frozen_string_literal: true
  2. class Admin::SystemCheck::BaseCheck
  3. attr_reader :current_user
  4. def initialize(current_user)
  5. @current_user = current_user
  6. end
  7. def skip?
  8. false
  9. end
  10. def pass?
  11. raise NotImplementedError
  12. end
  13. def message
  14. raise NotImplementedError
  15. end
  16. end