class HaveAPI::Validators::Confirmation

Checks that two parameters are equal or not equal.

Short form:

string :param, confirm: :other_parameter

Full form:

string :param, confirm: {
  param: :other_parameter,
  equal: true/false,
  message: 'the error message'
}

‘equal` defaults to `true`.