Module: Mihari::Types

Defined in:
lib/mihari/types.rb

Overview

dry-type based types

Constant Summary collapse

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("hash", "ip", "domain", "url", "mail")
HTTPRequestMethods =
Types::String.enum("GET", "POST")