Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Alfodr::Validators::BaseRule
Inherits
Reference
<
Object
This struct holds the validation rules to be performed
Constructors
new
(field :
String
|
Symbol
, msg :
String
|
Nil
, &block :
String
->
Bool
)
Source
Instance methods
apply
(params :
Alfodr::Router::Params
)
Source
error
Source
field
Source
predicate
Source
value
Source