module FDE::MailSender

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/fde/mail_sender.rb, line 30
def self.config
  @@config ||= Config.new
end
configure() { |config| ... } click to toggle source
# File lib/fde/mail_sender.rb, line 40
def self.configure
  yield self.config
end
smtp_account() click to toggle source
# File lib/fde/mail_sender.rb, line 34
def self.smtp_account
  @@smtp ||= ::Mail.defaults do
    delivery_method :smtp, FDE::MailSender.config.attributes
  end
end