Sha256: 19a7a745ee10e6402bd51e851bb926945accc9eb15cae86a1f73d227fca5bcbf

Contents?: true

Size: 248 Bytes

Versions: 5

Compression:

Stored size: 248 Bytes

Contents

module AbAdmin
  module Mailers
    class DevelopmentMailInterceptor
      def self.delivering_email(message)
        message.subject = "[#{message.to}] #{message.subject}"
        message.to = 'leschenko.al@gmail.com'
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ab_admin-0.2.1 lib/ab_admin/mailers/development_mail_interceptor.rb
ab_admin-0.2.0 lib/ab_admin/mailers/development_mail_interceptor.rb
ab_admin-0.1.2 lib/ab_admin/mailers/development_mail_interceptor.rb
ab_admin-0.1.1 lib/ab_admin/mailers/development_mail_interceptor.rb
ab_admin-0.1.0 lib/ab_admin/mailers/development_mail_interceptor.rb