Class: Interaktor::Error::DisallowedAttributeAssignmentError
- Inherits:
-
AttributeError
- Object
- AttributeError
- Interaktor::Error::DisallowedAttributeAssignmentError
- Defined in:
- lib/interaktor/error/disallowed_attribute_assignment_error.rb
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/interaktor/error/disallowed_attribute_assignment_error.rb', line 2 def <<~MESSAGE.strip.tr("\n", "") Attempted a disallowed assignment to the '#{attributes.first}' attribute which was not included when the #{interaktor} interaktor was originally called. MESSAGE end |