lib/ahoy_email.rb in ahoy_email-0.1.1 vs lib/ahoy_email.rb in ahoy_email-0.1.2

- old
+ new

@@ -22,9 +22,13 @@ utm_content: nil, utm_campaign: proc {|message, mailer| mailer.action_name }, user: proc{|message, mailer| User.where(email: message.to.first).first rescue nil } } + def self.track(options) + self.options = self.options.merge(options) + end + def self.message_model=(message_model) @message_model = message_model end def self.message_model