module Roadie::Rails::InlineOnDelivery
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.
Attributes
roadie_options[RW]
Public Instance Methods
deliver()
click to toggle source
Calls superclass method
# File lib/roadie/rails/inline_on_delivery.rb, line 9 def deliver inline_styles super end
deliver!()
click to toggle source
Calls superclass method
# File lib/roadie/rails/inline_on_delivery.rb, line 14 def deliver! inline_styles super end
Private Instance Methods
inline_styles()
click to toggle source
# File lib/roadie/rails/inline_on_delivery.rb, line 21 def inline_styles if (options = roadie_options) MailInliner.new(self, options).execute end end