Sha256: b202235eb539cb3eb5fe775aef201efca57413d51d0fa01e1cea23e1bc2c1bba
Contents?: true
Size: 314 Bytes
Versions: 16
Compression:
Stored size: 314 Bytes
Contents
require 'json-schema/attributes/limits/length' module JSON class Schema class MinLengthAttribute < LengthLimitAttribute def self.limit_name 'minLength' end def self.error_message(schema) "was not of a minimum string length of #{limit(schema)}" end end end end
Version data entries
16 entries across 15 versions & 3 rubygems