Class: Interactor::Validation::Errors::Error

Inherits:
Struct
  • Object
show all
Defined in:
lib/interactor/validation/errors.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attributeObject

Returns the value of attribute attribute

Returns:

  • (Object)

    the current value of attribute



9
10
11
# File 'lib/interactor/validation/errors.rb', line 9

def attribute
  @attribute
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



9
10
11
# File 'lib/interactor/validation/errors.rb', line 9

def message
  @message
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



9
10
11
# File 'lib/interactor/validation/errors.rb', line 9

def options
  @options
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



9
10
11
# File 'lib/interactor/validation/errors.rb', line 9

def type
  @type
end