Sha256: 81cafe7d0fabbdf73c3b4945f2c5f3dcc1545d0e1dcce89e939ae2d301262fe3
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 fourth level of an API response. LevelD = Dry::Schema.JSON parent: Node do optional(:children).value(:array, min_size?: 1).each { hash LevelE } end end end
Version data entries
14 entries across 14 versions & 1 rubygems