gitlab-org--gitlab-foss/lib/gitlab/email/handler/base_handler.rb

23 lines
386 B
Ruby

module Gitlab
module Email
module Handler
class BaseHandler
attr_reader :mail, :mail_key
def initialize(mail, mail_key)
@mail = mail
@mail_key = mail_key
end
def can_execute?
raise NotImplementedError
end
def execute
raise NotImplementedError
end
end
end
end
end