Class: ProblemCheck::GroupEmailCredentials
- Inherits:
-
ProblemCheck
- Object
- ProblemCheck
- ProblemCheck::GroupEmailCredentials
- Defined in:
- app/services/problem_check/group_email_credentials.rb
Overview
If group SMTP or IMAP has been configured, we want to make sure the credentials are always valid otherwise emails will not be sending out from group inboxes. This check is run as part of scheduled admin problem checks, and if any credentials have issues they will show up on the admin dashboard as a high priority issue.
Constant Summary
Constants inherited from ProblemCheck
CORE_PROBLEM_CHECKS, NO_TARGET
Instance Attribute Summary
Attributes inherited from ProblemCheck
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
#call ⇒ Object
13 14 15 |
# File 'app/services/problem_check/group_email_credentials.rb', line 13 def call [*smtp_errors, *imap_errors] end |