Sha256: 3d77b5b7abe095897a507bb9e5bb696e46f7679cb82f81bf073493af0edc36be
Contents?: true
Size: 603 Bytes
Versions: 1
Compression:
Stored size: 603 Bytes
Contents
module EffectiveProducts class Engine < ::Rails::Engine engine_name 'effective_products' # Set up our default configuration options. initializer 'effective_products.defaults', before: :load_config_initializers do |app| eval File.read("#{config.root}/config/effective_products.rb") end # Include acts_as_addressable concern and allow any ActiveRecord object to call it initializer 'effective_products.active_record' do |app| ActiveSupport.on_load :active_record do ActiveRecord::Base.extend(EffectiveProductsRingPayment::Base) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_products-0.0.2 | lib/effective_products/engine.rb |