Exception: SimplyTheTenant::NoTenantSetError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/simply_the_tenant.rb

Instance Method Summary collapse

Constructor Details

#initializeNoTenantSetError

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