Sha256: 2bcfabfe6de2f77b8642927216fc1c6ab00f4cece960790ec839b8b6370a38d6
Contents?: true
Size: 719 Bytes
Versions: 26
Compression:
Stored size: 719 Bytes
Contents
# frozen_string_literal: true module Mihari module Types include Dry.Types() Int = Strict::Integer Nil = Strict::Nil Hash = Strict::Hash String = Strict::String Bool = Strict::Bool Double = Strict::Float | Strict::Integer DateTime = Strict::DateTime DataTypes = Types::String.enum(*DEFAULT_DATA_TYPES) HTTPRequestMethods = Types::String.enum("GET", "POST") HTTPRequestPayloadTypes = Types::String.enum("application/json", "application/x-www-form-urlencoded") EmitterTypes = Types::String.enum( "database", "webhook" ) EnricherTypes = Types::String.enum( "whois", "ipinfo", "shodan", "google_public_dns" ) end end
Version data entries
26 entries across 26 versions & 1 rubygems