Class: InformantRails::FieldError

Inherits:
Struct
  • Object
show all
Defined in:
lib/informant-rails/field_error.rb

Instance Attribute Summary collapse

Instance Attribute Details

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



2
3
4
# File 'lib/informant-rails/field_error.rb', line 2

def message
  @message
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/informant-rails/field_error.rb', line 2

def name
  @name
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



2
3
4
# File 'lib/informant-rails/field_error.rb', line 2

def value
  @value
end