Module: Roadie::Rails::InlineOnDelivery
- Defined in:
- lib/roadie/rails/inline_on_delivery.rb
Overview
Extend instances of Mail with this to have it inlined automatically when delivered. You’ll need to assign some #roadie_options for it to actually do anything.
Instance Attribute Summary collapse
-
#roadie_options ⇒ Object
Returns the value of attribute roadie_options.
Instance Method Summary collapse
Instance Attribute Details
#roadie_options ⇒ Object
Returns the value of attribute roadie_options.
9 10 11 |
# File 'lib/roadie/rails/inline_on_delivery.rb', line 9 def @roadie_options end |
Instance Method Details
#deliver ⇒ Object
11 12 13 14 |
# File 'lib/roadie/rails/inline_on_delivery.rb', line 11 def deliver inline_styles super end |
#deliver! ⇒ Object
16 17 18 19 |
# File 'lib/roadie/rails/inline_on_delivery.rb', line 16 def deliver! inline_styles super end |