Class: BetterOpener::DeliveryMethod
- Inherits:
-
Object
- Object
- BetterOpener::DeliveryMethod
- Defined in:
- lib/better_opener/delivery_method.rb
Instance Method Summary collapse
- #deliver!(mail) ⇒ Object
-
#initialize(options = {}) ⇒ DeliveryMethod
constructor
A new instance of DeliveryMethod.
Constructor Details
#initialize(options = {}) ⇒ DeliveryMethod
Returns a new instance of DeliveryMethod.
4 5 |
# File 'lib/better_opener/delivery_method.rb', line 4 def initialize( = {}) end |
Instance Method Details
#deliver!(mail) ⇒ Object
7 8 9 |
# File 'lib/better_opener/delivery_method.rb', line 7 def deliver!(mail) BetterOpener.add_notification("email", mail.subject, BetterOpener.render_email('NAME', mail)) end |