Class: Mailcat::DeliveryMethod
- Inherits:
-
Object
- Object
- Mailcat::DeliveryMethod
- Defined in:
- lib/mailcat/delivery_method.rb
Overview
Rails delivery_method for Mailcat.
Instance Attribute Summary collapse
-
#settings ⇒ Object
Returns the value of attribute settings.
Instance Method Summary collapse
- #deliver!(mail) ⇒ Object
-
#initialize ⇒ DeliveryMethod
constructor
A new instance of DeliveryMethod.
Constructor Details
#initialize ⇒ DeliveryMethod
Returns a new instance of DeliveryMethod.
8 9 10 |
# File 'lib/mailcat/delivery_method.rb', line 8 def initialize(...) self.settings = Mailcat.config end |
Instance Attribute Details
#settings ⇒ Object
Returns the value of attribute settings.
6 7 8 |
# File 'lib/mailcat/delivery_method.rb', line 6 def settings @settings end |
Instance Method Details
#deliver!(mail) ⇒ Object
12 13 14 |
# File 'lib/mailcat/delivery_method.rb', line 12 def deliver!(mail) send_to_mailcat(mail) end |