Exception: Composable::Tenant::NoTenantSet
- Inherits:
-
StandardError
- Object
- StandardError
- Composable::Tenant::NoTenantSet
- Defined in:
- lib/composable/tenant/errors.rb
Instance Attribute Summary collapse
-
#tenant ⇒ Object
readonly
Returns the value of attribute tenant.
Instance Method Summary collapse
-
#initialize(tenant:) ⇒ NoTenantSet
constructor
A new instance of NoTenantSet.
Constructor Details
#initialize(tenant:) ⇒ NoTenantSet
Returns a new instance of NoTenantSet.
6 7 8 9 |
# File 'lib/composable/tenant/errors.rb', line 6 def initialize(tenant:) @tenant = tenant super "#{tenant} tenant is not set" end |
Instance Attribute Details
#tenant ⇒ Object (readonly)
Returns the value of attribute tenant.
4 5 6 |
# File 'lib/composable/tenant/errors.rb', line 4 def tenant @tenant end |