Exception: SimplyTheTenant::NoTenantSetError
- Inherits:
-
StandardError
- Object
- StandardError
- SimplyTheTenant::NoTenantSetError
- Defined in:
- lib/simply_the_tenant.rb
Instance Method Summary collapse
-
#initialize ⇒ NoTenantSetError
constructor
A new instance of NoTenantSetError.
Constructor Details
#initialize ⇒ NoTenantSetError
Returns a new instance of NoTenantSetError.
80 81 82 83 |
# File 'lib/simply_the_tenant.rb', line 80 def initialize super("No tenant class has been set. Use `SimplyTheTenant.with_tenant` to set a tenant, " \ "or `SimplyTheTenant.with_global_access` to bypass tenant scoping.") end |