Quartz::Verifiers::EachChecker
Inherits Quartz::Verifiers::RuntimeChecker / Reference / Object
EachChecker is a verifier which iterates through the given
attributes invoking the #check_each method passing in the
model, attribute and value.
All provided verifiers are built on top of this verifier.
Constructors
Instance methods
allow_nil?
Sourceattributes
Sourcecheck(model) : Bool
Performs verification on the supplied model. By default this will call
#check_each to determine validity therefore subclasses should
override #check_each with verification logic.
check_each(model, attribute, value)
Override this method in subclasses with the verification logic, adding errors to the records errors array where necessary.