Request.Validator.Rules (RequestValidator v0.1.0) View Source

Link to this section Summary

Link to this section Functions

Specs

email(binary(), nil, binary()) :: true | binary()

Specs

max(binary() | number() | list(), integer(), binary()) :: true | binary()

Specs

min(binary() | number() | list(), integer(), binary()) :: true | binary()
Link to this function

numeric(value, _, field)

View Source

Specs

numeric(number(), nil, binary()) :: true | binary()
Link to this function

required(value, _, field)

View Source

Specs

required(any(), nil, binary()) :: true | binary()

Specs

string(binary(), nil, binary()) :: true | binary()