mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
updated time of response from truemail
This commit is contained in:
parent
28c58826e0
commit
1ec79afb11
7 changed files with 16 additions and 9 deletions
|
@ -5,7 +5,7 @@ module Actions
|
|||
def initialize(email:, validation_eventable:, check_level: nil)
|
||||
@email = email
|
||||
@validation_eventable = validation_eventable
|
||||
@check_level = check_level || :regex
|
||||
@check_level = check_level || :mx
|
||||
end
|
||||
|
||||
def call
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
class VerifyEmailsJob < ApplicationJob
|
||||
discard_on StandardError
|
||||
|
||||
def perform(contact:, check_level: 'regex')
|
||||
def perform(contact:, check_level: 'mx')
|
||||
contact_not_found(contact.id) unless contact
|
||||
validate_check_level(check_level)
|
||||
action = Actions::EmailCheck.new(email: contact.email,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue