class Interaktor::Error::OrganizerSuccessAttributeMissingError
Attributes
attribute[R]
@return [Symbol]
Public Class Methods
new(interaktor, attribute)
click to toggle source
@param interaktor [Class] @param attribute [Symbol]
Calls superclass method
Interaktor::Error::AttributeError::new
# File lib/interaktor/error/organizer_success_attribute_missing_error.rb, line 7 def initialize(interaktor, attribute) super(interaktor, [attribute]) @attribute = attribute end
Public Instance Methods
message()
click to toggle source
# File lib/interaktor/error/organizer_success_attribute_missing_error.rb, line 13 def message <<~MESSAGE.strip.tr("\n", "") A #{interaktor} organizer requires a '#{attribute}' success attribute, but none of the success attributes provided by any of the organized interaktors list it. MESSAGE end