Class: Hubspot::Mailer::Delivery
- Inherits:
-
Object
- Object
- Hubspot::Mailer::Delivery
- Defined in:
- lib/hubspot/mailer/delivery.rb
Constant Summary collapse
- DEFAULTS =
{}
Instance Attribute Summary collapse
-
#settings ⇒ Object
Returns the value of attribute settings.
Instance Method Summary collapse
- #deliver!(mail) ⇒ Object
-
#initialize(values) ⇒ Delivery
constructor
A new instance of Delivery.
Constructor Details
Instance Attribute Details
#settings ⇒ Object
Returns the value of attribute settings.
4 5 6 |
# File 'lib/hubspot/mailer/delivery.rb', line 4 def settings @settings end |
Instance Method Details
#deliver!(mail) ⇒ Object
12 13 14 |
# File 'lib/hubspot/mailer/delivery.rb', line 12 def deliver!(mail) Hubspot::Mailer.single_send(mail) end |