class Quartz::Verifiers::PresenceChecker
- Quartz::Verifiers::PresenceChecker
- Quartz::Verifiers::EachChecker
- Quartz::Verifiers::RuntimeChecker
- Reference
- Object
Defined in:
quartz/verifiers/presence.crInstance Method Summary
-
#check_each(model, attribute, value)
Override this method in subclasses with the verification logic, adding errors to the records errors array where necessary.
Instance methods inherited from class Quartz::Verifiers::EachChecker
allow_nil? : Bool
allow_nil?,
attributes : Array(Symbol)
attributes,
check(model) : Bool
check,
check_each(model, attribute, value)
check_each
Constructor methods inherited from class Quartz::Verifiers::EachChecker
new(*attributes : Symbol, **kwargs)
new
Instance methods inherited from class Quartz::Verifiers::RuntimeChecker
check(model) : Bool
check,
contexts : Array(Symbol) | Nil
contexts,
strict? : Bool
strict?
Constructor methods inherited from class Quartz::Verifiers::RuntimeChecker
new(**kwargs)
new
Instance methods inherited from class Reference
==(other : Quartz::Any)
==
Instance methods inherited from class Object
===(other : Quartz::Any)
===
Instance Method Detail
def check_each(model, attribute, value)
#
Description copied from class Quartz::Verifiers::EachChecker
Override this method in subclasses with the verification logic, adding errors to the records errors array where necessary.