Module: MultiTenant::ProxiesToTenant::TenantInterface

Defined in:
lib/multi_tenant/proxies_to_tenant.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#tenant_identifierObject

Returns the tenant_identifier from the proxied class



88
89
90
# File 'lib/multi_tenant/proxies_to_tenant.rb', line 88

def tenant_identifier
  self.proxied_tenant_class.tenant_identifier
end