Class: Mailing::FakeChannel

Inherits:
BaseChannel show all
Defined in:
lib/mailing/fake_channel.rb

Instance Attribute Summary

Attributes inherited from BaseChannel

#config

Instance Method Summary collapse

Methods inherited from BaseChannel

#finish, #initialize, #start

Constructor Details

This class inherits a constructor from Mailing::BaseChannel

Instance Method Details

#deliver(mail, envelope_from, recipient) ⇒ Object



5
6
7
# File 'lib/mailing/fake_channel.rb', line 5

def deliver(mail, envelope_from, recipient)
  "Sent to #{recipient}"
end