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