Module: Mail::Gpg::Rails::ActionMailerPatch::ClassMethods

Defined in:
lib/mail/gpg/rails/action_mailer_base_patch.rb

Instance Method Summary collapse

Instance Method Details

#deliver_mail_with_gpg(mail, &block) ⇒ Object



28
29
30
31
32
# File 'lib/mail/gpg/rails/action_mailer_base_patch.rb', line 28

def deliver_mail_with_gpg(mail, &block)
  deliver_mail_without_gpg(mail) do
    Mail::Gpg::DeliveryHandler.deliver_mail mail, &block
  end
end