Class: Interaktor::Error::DisallowedAttributeAssignmentError

Inherits:
AttributeError
  • Object
show all
Defined in:
lib/interaktor/error/disallowed_attribute_assignment_error.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



2
3
4
5
6
7
8
# File 'lib/interaktor/error/disallowed_attribute_assignment_error.rb', line 2

def message
  "    Attempted a disallowed assignment to the '\#{attributes.first}'\n    attribute which was not included when the \#{interaktor} interaktor was\n    originally called.\n  MESSAGE\nend\n".strip.tr("\n", "")