Module: MultiTenant

Defined in:
lib/multi_tenant/acts_as_tenant.rb,
lib/acts_as_multi_tenant.rb,
lib/multi_tenant/version.rb,
lib/multi_tenant/middleware.rb,
lib/multi_tenant/belongs_to_tenant.rb,
lib/multi_tenant/proxies_to_tenant.rb,
lib/multi_tenant/belongs_to_tenant_through.rb

Overview

The main acts_as_multi_tenant module.

Defined Under Namespace

Modules: ActsAsTenant, BelongsToTenant, BelongsToTenantThrough, ProxiesToTenant Classes: Middleware, TenantsNotFound

Constant Summary collapse

NotImplemented =
Class.new(StandardError)
VERSION =

Gem version

'2.3.1'.freeze
NilProxyError =

An exception indicating a tenant with a missing or invalid proxy identifier

Class.new(RuntimeError)