API Reference dry_validation v1.0.0


Used to create a schema to validate input data against.

Represents any type, will not cast the value and will always assume that the value is valid. DryValidation.schema do required :anything, Types.Any end

Represents a boolean type. Will cast the strings "true" and "false" into real boolean values.

Represents a float type. Will try to cast strings into float values.

Provides a way to define custom validation functions. It is a struct with

Represents an integer type. Will try to cast strings into integer values.

Represents a list of elements. Type or a function can also be specified.

Represents a string type.

Contains the schema validation logic.