Class: MessageClient::Mailer
- Inherits:
-
Object
- Object
- MessageClient::Mailer
- Defined in:
- lib/message_client/mailer.rb
Constant Summary collapse
- HTML_RAW_TEMPLATE =
'raw-html-integration'
Instance Attribute Summary collapse
-
#settings ⇒ Object
Returns the value of attribute settings.
Instance Method Summary collapse
- #deliver!(mail) ⇒ Object
-
#initialize(values) ⇒ Mailer
constructor
A new instance of Mailer.
Constructor Details
#initialize(values) ⇒ Mailer
Returns a new instance of Mailer.
11 12 13 |
# File 'lib/message_client/mailer.rb', line 11 def initialize(values) build_settings(values) end |
Instance Attribute Details
#settings ⇒ Object
Returns the value of attribute settings.
9 10 11 |
# File 'lib/message_client/mailer.rb', line 9 def settings @settings end |
Instance Method Details
#deliver!(mail) ⇒ Object
15 16 17 18 19 |
# File 'lib/message_client/mailer.rb', line 15 def deliver!(mail) = (mail) () end |