Exception: Composable::Tenant::NoTenantSet

Inherits:
StandardError
  • Object
show all
Defined in:
lib/composable/tenant/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#tenantObject (readonly)

Returns the value of attribute tenant.



4
5
6
# File 'lib/composable/tenant/errors.rb', line 4

def tenant
  @tenant
end