Exception: Composable::Tenant::TenantIsImmutable
- Inherits:
-
StandardError
- Object
- StandardError
- Composable::Tenant::TenantIsImmutable
- Defined in:
- lib/composable/tenant/errors.rb
Instance Attribute Summary collapse
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
Instance Method Summary collapse
-
#initialize(method_name:) ⇒ TenantIsImmutable
constructor
A new instance of TenantIsImmutable.
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_name ⇒ Object (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 |