Class: StructuredReader::JSONReader::ValidatorContext::Result
- Inherits:
-
Struct
- Object
- Struct
- StructuredReader::JSONReader::ValidatorContext::Result
- Defined in:
- lib/structured_reader.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors
347 348 349 |
# File 'lib/structured_reader.rb', line 347 def errors @errors end |
#object ⇒ Object
Returns the value of attribute object
347 348 349 |
# File 'lib/structured_reader.rb', line 347 def object @object end |
Instance Method Details
#ok? ⇒ Boolean
348 349 350 |
# File 'lib/structured_reader.rb', line 348 def ok? errors.empty? end |