class Inkcite::Mailer::Base

Abstract base class for the workhorses of the Mailer class. Instantiated based on the config.yml settings.

Attributes

config[RW]

Public Class Methods

new(config) click to toggle source
# File lib/inkcite/mailer.rb, line 226
def initialize config
  @config = config
end

Public Instance Methods

get_from_address() click to toggle source
# File lib/inkcite/mailer.rb, line 230
def get_from_address
  @config[:from]
end
send!(recipients, subject, content) click to toggle source
# File lib/inkcite/mailer.rb, line 234
def send! recipients, subject, content
  raise NotImplementedError
end