mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
Return constant for validation period
This commit is contained in:
parent
ab3ababc1a
commit
3586eb999b
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
# For email_validation event kind also check_level (regex/mx/smtp) is stored in the event_data
|
||||
class ValidationEvent < ApplicationRecord
|
||||
enum event_type: ValidationEvent::EventType::TYPES, _suffix: true
|
||||
VALIDATION_PERIOD = 4.month
|
||||
VALIDATION_PERIOD = 4.month.freeze
|
||||
VALID_CHECK_LEVELS = %w[regex mx smtp].freeze
|
||||
VALID_EVENTS_COUNT_THRESHOLD = 5
|
||||
MX_CHECK = 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue