Sha256: be5ebc50eb93c61b58ace04b890b77e99600d0138fb5d4bb294d27ed7d9768ce
Contents?: true
Size: 422 Bytes
Versions: 8
Compression:
Stored size: 422 Bytes
Contents
# frozen_string_literal: true module MailAutoLinkObfuscation module Automatic def mail(*args, &block) super.tap do |email| email.extend ObfuscateAutoLinksOnDelivery email.mail_auto_link_obfuscation_options = mail_auto_link_obfuscation_options.try(:dup) end end def mail_auto_link_obfuscation_options ::Rails.application.config.mail_auto_link_obfuscation end end end
Version data entries
8 entries across 8 versions & 1 rubygems