lib/emailer/smtp_facade.rb in erikhansson-emailer-0.1.3 vs lib/emailer/smtp_facade.rb in erikhansson-emailer-0.1.4

- old
+ new

@@ -5,9 +5,12 @@ class MailerError < RuntimeError; end class ConnectionNotOpenError < MailerError; end class SmtpFacade + + class << self; attr_accessor :default end + attr_reader :settings, :error, :offending_mail def initialize(settings) @settings = settings @settings.keys.each do |key|