Class: Kennel::OptionalValidations::ValidationMessage

Inherits:
Struct
  • Object
show all
Defined in:
lib/kennel/optional_validations.rb

Instance Attribute Summary collapse

Instance Attribute Details

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



4
5
6
# File 'lib/kennel/optional_validations.rb', line 4

def tag
  @tag
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



4
5
6
# File 'lib/kennel/optional_validations.rb', line 4

def text
  @text
end