class Grape::Validations::Types::PrimitiveCoercer

Coerces the given value to a type defined via a type argument during initialization. When strict is true, it doesn’t coerce a value but check that it has the proper type.