class JSON::Schema::PropertiesLimitAttribute
Public Class Methods
acceptable_type()
click to toggle source
# File lib/json-schema/attributes/limits/properties.rb, line 6 def self.acceptable_type Hash end
value(data)
click to toggle source
# File lib/json-schema/attributes/limits/properties.rb, line 10 def self.value(data) data.size end