debian-mirror-gitlab/lib/gitlab/email/service_desk_receiver.rb
2022-01-26 12:08:38 +05:30

19 lines
361 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::ServiceDeskEmail
end
end
end
end