debian-mirror-gitlab/lib/gitlab/email/service_desk_receiver.rb
2023-06-20 00:43:36 +05:30

19 lines
368 B
Ruby

# frozen_string_literal: true
module Gitlab
module Email
class ServiceDeskReceiver < Receiver
private
def find_handler
return unless mail_key
Gitlab::Email::Handler::ServiceDeskHandler.new(mail, nil, service_desk_key: mail_key)
end
def email_class
::Gitlab::Email::ServiceDeskEmail
end
end
end
end