Class: Aias::Validator::ValidationResult
- Inherits:
-
Data
- Object
- Data
- Aias::Validator::ValidationResult
- Defined in:
- lib/aias/validator.rb
Overview
Immutable value object returned by #validate.
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#valid? ⇒ Object
readonly
Returns the value of attribute valid?.
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors
8 9 10 |
# File 'lib/aias/validator.rb', line 8 def errors @errors end |
#valid? ⇒ Object (readonly)
Returns the value of attribute valid?
8 9 10 |
# File 'lib/aias/validator.rb', line 8 def valid? @valid? end |