class

JSONSchema::FluentNumberValidator

Inherits JSONSchema::FluentValidatorGenericProperties / Reference / Object

A fluent API for creating instances of JSONSchema::NumberValidator.

Instance methods

exclusive_maximum(value : Int32)

Sets exclusive_maximum. See Range

Source
exclusive_minimum(value : Int32)

Sets exclusive_minimum. See Range

Source
has_integer_constraint

Sets the constraint for requiring the number to be an integer.

Source
maximum(value : Int32)

Sets maximum. See Range

Source
minimum(value : Int32)

Sets minimum. See Range

Source
multiple_of(value : Int32)

Sets multiple_of. See Multiples

Source
validator
Source