Sha256: ce804fd2903915d1388babad26f2a2e310f0ac1da8db690c6bc03fec131f585f
Contents?: true
Size: 324 Bytes
Versions: 7
Compression:
Stored size: 324 Bytes
Contents
# frozen_string_literal: true module Mihari module Schemas Alert = Dry::Schema.Params do required(:rule_id).value(:string) required(:artifacts).value(array[:string]) end # # Alert schema contract # class AlertContract < Dry::Validation::Contract params(Alert) end end end
Version data entries
7 entries across 7 versions & 1 rubygems