Class: Mailing::BaseChannel

Inherits:
Object
  • Object
show all
Defined in:
lib/mailing/base_channel.rb

Direct Known Subclasses

FakeChannel, SmtpChannel

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ BaseChannel

Returns a new instance of BaseChannel.



6
7
8
# File 'lib/mailing/base_channel.rb', line 6

def initialize(config)
  @config = config
end

Instance Attribute Details

#configObject

Returns the value of attribute config.



4
5
6
# File 'lib/mailing/base_channel.rb', line 4

def config
  @config
end

Instance Method Details

#deliver(mail, envelope_from, recipient) ⇒ Object



13
14
# File 'lib/mailing/base_channel.rb', line 13

def deliver(mail, envelope_from, recipient)
end

#finishObject



16
17
# File 'lib/mailing/base_channel.rb', line 16

def finish
end

#startObject



10
11
# File 'lib/mailing/base_channel.rb', line 10

def start
end