class HaveAPI::Validators::Length

Checks the length of a string. It does not have a short form.

Full form:

string :param, length: {
  min: 3,
  max: 10
  message: 'the error message'
}

string :param, length: {
  equals: 8
}