Sha256: eac4a22be7a95f8a65d4b3c0f6fb3dde0ae4fc5bedbbfdb51661dd5e49029bf6
Contents?: true
Size: 572 Bytes
Versions: 5
Compression:
Stored size: 572 Bytes
Contents
module Tangany module Custody module Contracts module Wallets class Create < ApplicationContract TagSchema = Dry::Schema.Params do 10.times do |i| optional("tag#{i}".to_sym).maybe(:string, max_size?: 256) end end schema do config.validate_keys = true optional(:wallet).filled(:string, max_size?: 127, min_size?: 1) optional(:useHsm).filled(:bool) optional(:tags).array(TagSchema) end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems