Class: ProblemCheck::MaxmindDbConfiguration

Inherits:
ProblemCheck show all
Defined in:
app/services/problem_check/maxmind_db_configuration.rb

Constant Summary

Constants inherited from ProblemCheck

CORE_PROBLEM_CHECKS, NO_TARGET

Instance Attribute Summary

Attributes inherited from ProblemCheck

#data

Instance Method Summary collapse

Methods inherited from ProblemCheck

[], call, checks, enabled?, identifier, #initialize, inline?, realtime, realtime?, #run, run, scheduled, scheduled?

Constructor Details

This class inherits a constructor from ProblemCheck

Instance Method Details

#callObject



6
7
8
9
10
11
12
# File 'app/services/problem_check/maxmind_db_configuration.rb', line 6

def call
  if GlobalSetting.maxmind_license_key.present? && GlobalSetting..blank?
    problem
  else
    no_problem
  end
end