class HaveAPI::Validators::Exclusion

Checks that the value is not reserved.

Short form:

string :param, exclude: %i(one two three)

Full form:

string :param, exclude: {
  values: %i(one two three),
  message: 'the error message'
}

In this case, the value could be anything but ‘one`, `two` or `three`.