Class: Sanatio::ClassValidator::Error

Inherits:
Struct
  • Object
show all
Defined in:
lib/sanatio/class_validator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



7
8
9
# File 'lib/sanatio/class_validator.rb', line 7

def params
  @params
end

#reasonObject

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



7
8
9
# File 'lib/sanatio/class_validator.rb', line 7

def reason
  @reason
end