validex v0.4.0 Validex.Validator behaviour

Summary

Types

attribute()
attribute() :: atom
attribute_path()
attribute_path() :: atom | [atom]
error_message()
error_message() :: String.t
error_name()
error_name() :: :atom
options()
options() :: keyword
rule_kind()
rule_kind() :: atom
rule_spec()
rule_spec() :: keyword
value()
value() :: any

Callbacks

rule_kind()
rule_kind() :: rule_kind
validate(rule_kind, attribute, rule_spec, value, options)