class InlinePreviewInterceptor
Ruby on Rails 4.2.9
Since v4.1.16Implements a mailer preview interceptor that converts image tag src attributes that use inline cid: style urls to data: style urls so that they are visible when previewing a HTML email in a web browser.
This interceptor is not enabled by default, to use it just register it like any other mailer preview interceptor:
ActionMailer::Base.register_preview_interceptor(ActionMailer::InlinePreviewInterceptor)
Inherits from
Includes
Constants
Private methods
(5)
Implementation detail — not part of the public API.
- # data_url
- # find_part
- # html_part
- # html_source
- # message
Methods (inherited)
From Object (23)
- # <
- # acts_like?
- # blank?
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # itself
- # perform
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options
- self. table_name_prefix