Sha256: 5e66fd637650d83cb87e2ca1bf2eb2f6e260ba7b8c7a142fc95b4f0aa7e584de
Contents?: true
Size: 345 Bytes
Versions: 14
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literal: true require "dry/schema" module Tana module Responses # Validates a generic node within an API response. Node = Dry::Schema.JSON do optional(:description).filled :string optional(:name).filled :string required(:nodeId).filled :string required(:type).filled :string end end end
Version data entries
14 entries across 14 versions & 1 rubygems