lib/ahoy_email/mailer.rb in ahoy_email-0.2.2 vs lib/ahoy_email/mailer.rb in ahoy_email-0.2.3
- old
+ new
@@ -1,8 +1,7 @@
module AhoyEmail
module Mailer
-
def self.included(base)
base.extend ClassMethods
base.class_eval do
attr_accessor :ahoy_options
class_attribute :ahoy_options
@@ -24,8 +23,7 @@
def mail_with_ahoy(headers = {}, &block)
message = mail_without_ahoy(headers, &block)
AhoyEmail::Processor.new(message, self).process
message
end
-
end
end