class JSONSchema::FluentNumberValidator
- JSONSchema::FluentNumberValidator
- Reference
- Object
Overview
A fluent API for creating instances of JSONSchema::NumberValidator
.
Included Modules
Defined in:
fluent.crInstance Method Summary
-
#exclusive_maximum(value : Int32)
Sets
#exclusive_maximum
. -
#exclusive_minimum(value : Int32)
Sets
#exclusive_minimum
. -
#has_integer_constraint
Sets the constraint for requiring the number to be an integer.
-
#maximum(value : Int32)
Sets
#maximum
. -
#minimum(value : Int32)
Sets
#minimum
. -
#multiple_of(value : Int32)
Sets
#multiple_of
. - #validator : JSONSchema::NumberValidator