Sha256: c459844ec7cc7620503f5299feed9611372d8c94146db0f120391448c60189a5
Contents?: true
Size: 494 Bytes
Versions: 10
Compression:
Stored size: 494 Bytes
Contents
module E9Vendors autoload :VERSION, 'e9_vendors/version' autoload :Model, 'e9_vendors/model' autoload :Controller, 'e9_vendors/controller' def E9Vendors.configure yield self end def E9Vendors.init! end class Engine < ::Rails::Engine config.e9_vendors = E9Vendors config.active_record.observers ||= [] config.active_record.observers |= [ :vendor_member_observer, :vendor_observer ] config.to_prepare { E9Vendors.init! } end end
Version data entries
10 entries across 10 versions & 1 rubygems