Sha256: 461f1cbf9fdfda293f682ce8ac5b448fee764484b56500a90e588b0eb19f8b29

Contents?: true

Size: 270 Bytes

Versions: 3

Compression:

Stored size: 270 Bytes

Contents

module MList
  module EmailServer
    class Fake < Base
      attr_reader :deliveries
      
      def initialize
        super({})
        @deliveries = []
      end
      
      def deliver(tmail, destinations)
        @deliveries << tmail
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aiwilliams-mlist-0.1.0 lib/mlist/email_server/fake.rb
aiwilliams-mlist-0.1.1 lib/mlist/email_server/fake.rb
aiwilliams-mlist-0.1.2 lib/mlist/email_server/fake.rb