Sha256: aa75e3d818a33f97d28dcf8f2fb49a1f9d1b421e8477bc8e376ff80722d04b40
Contents?: true
Size: 489 Bytes
Versions: 7
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true module Cocina module Models module Validators # Perform validation against all other Validators class Validator VALIDATORS = [ OpenApiValidator, DarkValidator, CatalogLinksValidator, DescriptionTypesValidator ].freeze def self.validate(clazz, attributes) VALIDATORS.each { |validator| validator.validate(clazz, attributes) } end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems