Sha256: b4c659848685bbe4de79f6a20c144f1c6c3d2db460f8e9ce5d38e5286a391c85

Contents?: true

Size: 267 Bytes

Versions: 20

Compression:

Stored size: 267 Bytes

Contents

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

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
aiwilliams-mlist-0.1.3 lib/mlist/email_server/fake.rb
aiwilliams-mlist-0.1.4 lib/mlist/email_server/fake.rb
aiwilliams-mlist-0.1.5 lib/mlist/email_server/fake.rb
aiwilliams-mlist-0.1.6 lib/mlist/email_server/fake.rb
aiwilliams-mlist-0.1.7 lib/mlist/email_server/fake.rb
aiwilliams-mlist-0.1.8 lib/mlist/email_server/fake.rb
mlist-0.1.23 lib/mlist/email_server/fake.rb
mlist-0.1.22 lib/mlist/email_server/fake.rb
mlist-0.1.21 lib/mlist/email_server/fake.rb
mlist-0.1.20 lib/mlist/email_server/fake.rb
mlist-0.1.19 lib/mlist/email_server/fake.rb
mlist-0.1.18 lib/mlist/email_server/fake.rb
mlist-0.1.17 lib/mlist/email_server/fake.rb
mlist-0.1.16 lib/mlist/email_server/fake.rb
mlist-0.1.14 lib/mlist/email_server/fake.rb
mlist-0.1.13 lib/mlist/email_server/fake.rb
mlist-0.1.12 lib/mlist/email_server/fake.rb
mlist-0.1.11 lib/mlist/email_server/fake.rb
mlist-0.1.10 lib/mlist/email_server/fake.rb
mlist-0.1.9 lib/mlist/email_server/fake.rb