class JSONSchema::FluentStringValidator
- JSONSchema::FluentStringValidator
- Reference
- Object
Overview
A fluent API for creating instances of JSONSchema::StringValidator
.
Included Modules
Defined in:
fluent.crInstance Method Summary
-
#format(value : String)
Sets a format for the string.
-
#max_length(value : Int32)
Sets
#max_length
. -
#min_length(value : Int32)
Sets
#min_length
. -
#pattern(value : Regex)
Sets
#pattern
. - #validator : JSONSchema::StringValidator