Sha256: 85e8ed212e9ad7afed41b7c9a525ed90687e7fcb92c624adf5d6d3602263967b

Contents?: true

Size: 477 Bytes

Versions: 1

Compression:

Stored size: 477 Bytes

Contents

require 'premailer'
require 'action_mailer'

require 'premailer/rails/version'
require 'premailer/rails/css_loaders'
require 'premailer/rails/css_helper'
require 'premailer/rails/customized_premailer'
require 'premailer/rails/hook'

class Premailer
  module Rails
    @config = {
      input_encoding: 'UTF-8',
      generate_text_part: true
    }
    class << self
      attr_accessor :config
    end
  end
end

ActionMailer::Base.register_interceptor(Premailer::Rails::Hook)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
premailer-rails-1.6.1 lib/premailer/rails.rb