Sha256: 801d00915f7ca37c07fc2c6f82567267d2e159c7a4c9e2c67c389b61efda02fa

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

require 'solidus_core'
require 'solidus_support'

module SolidusActAsTenant
  class Engine < Rails::Engine
    include SolidusSupport::EngineExtensions

    isolate_namespace ::Spree

    engine_name 'solidus_act_as_tenant'

    # use rspec for tests
    config.generators do |g|
      g.test_framework :rspec
    end

    config.after_initialize do
      SolidusActAsTenant::TenantAware.setup_tenant_aware_models
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_act_as_tenant-0.0.4 lib/solidus_act_as_tenant/engine.rb
solidus_act_as_tenant-0.0.3 lib/solidus_act_as_tenant/engine.rb
solidus_act_as_tenant-0.0.2 lib/solidus_act_as_tenant/engine.rb
solidus_act_as_tenant-0.0.1 lib/solidus_act_as_tenant/engine.rb