Module: MicroQ::Methods::ActionMailer
- Defined in:
- lib/micro_q/methods/action_mailer.rb
Overview
Methods that are added to the ActionMailer class
When mailing asynchronously, the deliver method needs to be called which means a custom wrapper.
Instance Method Summary collapse
Instance Method Details
#async(options = {}) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/micro_q/methods/action_mailer.rb', line 10 def async( = {}) MicroQ::Proxy::ActionMailer.new(.merge( :class => MicroQ::Wrapper::ActionMailer, :base => self )) end |