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

Version Path
e9_vendors-0.0.10 lib/e9_vendors.rb
e9_vendors-0.0.9 lib/e9_vendors.rb
e9_vendors-0.0.8 lib/e9_vendors.rb
e9_vendors-0.0.7 lib/e9_vendors.rb
e9_vendors-0.0.6 lib/e9_vendors.rb
e9_vendors-0.0.5 lib/e9_vendors.rb
e9_vendors-0.0.4 lib/e9_vendors.rb
e9_vendors-0.0.3 lib/e9_vendors.rb
e9_vendors-0.0.2 lib/e9_vendors.rb
e9_vendors-0.0.1 lib/e9_vendors.rb