debian-mirror-gitlab/app/services/emails/confirm_service.rb
2022-03-02 08:16:31 +05:30

11 lines
214 B
Ruby

# frozen_string_literal: true
module Emails
class ConfirmService < ::Emails::BaseService
def execute(email)
email.resend_confirmation_instructions
end
end
end
Emails::ConfirmService.prepend_mod