class JSON::Schema::MaxLengthAttribute

Public Class Methods

error_message(schema) click to toggle source
# File lib/json-schema/attributes/limits/max_length.rb, line 10
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/limits/max_length.rb, line 6
def self.limit_name
  'maxLength'
end