Amber::Validators::OptionalRule
Inherits Amber::Validators::BaseRule < Reference < Object
OptionalRule only validates (evaluates block) if the key is present and the value is not blank (see call_predicate).
Instance methods
apply(params : Amber::Router::Params)
Source