require 'job_security/mailbox'

module JobSecurity
  class MailboxFactory
    def initialize(persistence_adapter)
      @persistence_adapter = persistence_adapter
    end

    def new
      Mailbox.new(@persistence_adapter)
    end
  end
end
