module RestMyCase::Context::SchemaValidator
Public Instance Methods
all_attributes_required(schema)
click to toggle source
# File lib/rest_my_case/context/schema_validator/compel.rb, line 24 def all_attributes_required(schema) {}.tap do |new_schema| schema.each { |key| new_schema[key] = Compel.any.required } end end