class JSON::Schema::MaxLengthAttribute

Public Class Methods

error_message(schema) click to toggle source
# File lib/json-schema/attributes/limit.rb, line 75
def self.error_message(schema)
  "was not of a maximum string length of #{limit(schema)}"
end
limit_name() click to toggle source
# File lib/json-schema/attributes/limit.rb, line 71
def self.limit_name
  'maxLength'
end