Sha256: be2d7f92786e7f0210a567193f3dd4622fba319a3846680c330a951512a00caf
Contents?: true
Size: 234 Bytes
Versions: 1
Compression:
Stored size: 234 Bytes
Contents
module Mountapi module Schema class Validator # @return [Array] validation errors def self.call(schema, data) JSON::Validator.fully_validate(schema, data, errors_as_objects: true) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mountapi-0.11.1 | lib/mountapi/schema/validator.rb |