module MultiTenant::ProxiesToTenant::TenantInterface

Class methods to give this the same interface as a “real” tenant class.

Public Instance Methods

tenant_identifier() click to toggle source

Returns the tenant_identifier from the proxied class

# File lib/multi_tenant/proxies_to_tenant.rb, line 88
def tenant_identifier
  self.proxied_tenant_class.tenant_identifier
end