Class: Noticed::DeliveryMethods::Email

Inherits:
Base
  • Object
show all
Defined in:
lib/noticed/delivery_methods/email.rb

Instance Attribute Summary

Attributes inherited from Base

#notification, #options, #params, #recipient, #record

Instance Method Summary collapse

Methods inherited from Base

inherited, options, #perform, validate!

Instance Method Details

#deliverObject



6
7
8
# File 'lib/noticed/delivery_methods/email.rb', line 6

def deliver
  mailer.with(format).send(method.to_sym).deliver_now
end