class Interaktor::Error::DisallowedAttributeAssignmentError

Public Instance Methods

message() click to toggle source
# File lib/interaktor/error/disallowed_attribute_assignment_error.rb, line 2
  def message
    <<~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