Sha256: 7b0a3006387f5ad0c52a1a700bf325f4b31c48d20ba17e8526139de9c0307091
Contents?: true
Size: 276 Bytes
Versions: 14
Compression:
Stored size: 276 Bytes
Contents
# frozen_string_literal: true require "dry/schema" module Tana module Responses # Validates the second level of an API response. LevelB = Dry::Schema.JSON parent: Node do optional(:children).value(:array, min_size?: 1).each { hash LevelC } end end end
Version data entries
14 entries across 14 versions & 1 rubygems