class JSON::Schema::MinLengthAttribute

Public Class Methods

error_message(schema) click to toggle source
# File lib/json-schema/attributes/limits/min_length.rb, line 10
def self.error_message(schema)
  "was not of a minimum string length of #{limit(schema)}"
end
limit_name() click to toggle source
# File lib/json-schema/attributes/limits/min_length.rb, line 6
def self.limit_name
  'minLength'
end