Class: JSI::Validation::Result
- Inherits:
-
Object
- Object
- JSI::Validation::Result
- Includes:
- Util::FingerprintHash, Util::Virtual
- Defined in:
- lib/jsi/validation/result.rb
Overview
a result of validating an instance against schemas which describe it. virtual base class.
Direct Known Subclasses
Instance Method Summary collapse
- #builder(schema, instance_ptr, instance_document, validate_only, visited_refs) ⇒ Object
-
#valid? ⇒ Boolean
is the instance valid against its schemas?.
Instance Method Details
#builder(schema, instance_ptr, instance_document, validate_only, visited_refs) ⇒ Object
75 76 77 78 79 80 81 82 83 84 |
# File 'lib/jsi/validation/result.rb', line 75 def builder(schema, instance_ptr, instance_document, validate_only, visited_refs) self.class::Builder.new( result: self, schema: schema, instance_ptr: instance_ptr, instance_document: instance_document, validate_only: validate_only, visited_refs: visited_refs, ) end |
#valid? ⇒ Boolean
is the instance valid against its schemas?
88 89 90 91 92 |
# File 'lib/jsi/validation/result.rb', line 88 def valid? # :nocov: virtual_method # :nocov: end |