Module: CustomerioRails::WithTemplatedMessageMailer
- Defined in:
- lib/customerio-rails.rb
Instance Method Summary collapse
Instance Method Details
#mail(*args, **kwargs) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/customerio-rails.rb', line 9 def mail(*args, **kwargs) if kwargs[:transactional_message_id].present? # force a blank body to avoid looking for a template locally kwargs[:body] = '' end super end |