class JSON::Schema::MaxItemsAttribute

Public Class Methods

error_message(schema) click to toggle source
# File lib/json-schema/attributes/limits/max_items.rb, line 10
def self.error_message(schema)
  "had more items than the allowed #{limit(schema)}"
end
limit_name() click to toggle source
# File lib/json-schema/attributes/limits/max_items.rb, line 6
def self.limit_name
  'maxItems'
end