Module: Mail::Gpg::Rails::ActionMailerPatch::InstanceMethods
- Defined in:
- lib/mail/gpg/rails/action_mailer_base_patch.rb
Instance Method Summary collapse
Instance Method Details
#mail(headers = {}, &block) ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/mail/gpg/rails/action_mailer_base_patch.rb', line 17 def mail(headers = {}, &block) headers = headers.dup = headers.delete :gpg super(headers, &block).tap do |m| if m.gpg end end end |