Sha256: 82cb1673f72cc208fe8d2e81c2dbd084d4229ec9d7a1a316e83ee05f06a554e2
Contents?: true
Size: 280 Bytes
Versions: 14
Compression:
Stored size: 280 Bytes
Contents
# frozen_string_literal: true require "dry/schema" module Tana module Requests # Validates the eight level of an API request. LevelH = Dry::Schema.JSON parent: Node.schema do optional(:children).value(:array, min_size?: 1).each { hash LevelI } end end end
Version data entries
14 entries across 14 versions & 1 rubygems