Sha256: b040272da745c4ed832096b6b6ca1df73453dbcc2c89a0bd120019ba739821e2
Contents?: true
Size: 585 Bytes
Versions: 8
Compression:
Stored size: 585 Bytes
Contents
module EffectivePostmark class Engine < ::Rails::Engine engine_name 'effective_postmark' # Set up our default configuration options. initializer 'effective_postmark.defaults', before: :load_config_initializers do |app| eval File.read("#{config.root}/config/effective_postmark.rb") end # Include effective_postmark_user concern and allow any ActiveRecord object to call it initializer 'effective_postmark.active_record' do |app| app.config.to_prepare do ActiveRecord::Base.extend(EffectivePostmarkUser::Base) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems