Class: Iron::FieldDefinition::Validations::Violation

Inherits:
Data
  • Object
show all
Defined in:
app/models/iron/field_definition/validations.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attributeObject (readonly)

Returns the value of attribute attribute

Returns:

  • (Object)

    the current value of attribute



3
4
5
# File 'app/models/iron/field_definition/validations.rb', line 3

def attribute
  @attribute
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



3
4
5
# File 'app/models/iron/field_definition/validations.rb', line 3

def message
  @message
end