Exception: Composable::Tenant::TenantIsImmutable

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method_name:) ⇒ TenantIsImmutable

Returns a new instance of TenantIsImmutable.



15
16
17
18
# File 'lib/composable/tenant/errors.rb', line 15

def initialize(method_name:)
  @method_name = method_name
  super "#{method_name} method is immutable"
end

Instance Attribute Details

#method_nameObject (readonly)

Returns the value of attribute method_name.



13
14
15
# File 'lib/composable/tenant/errors.rb', line 13

def method_name
  @method_name
end