New response code

This commit is contained in:
Martin Lensment 2015-01-23 13:10:15 +02:00
parent e6b36c409d
commit 0b7017481d

View file

@ -21,7 +21,7 @@ class DurationIso8601Validator < ActiveModel::EachValidator
return if validate(value) return if validate(value)
{ {
code: '2003', code: '2005',
msg: I18n.t(:unknown_expiry_relative_pattern), msg: I18n.t(:unknown_expiry_relative_pattern),
value: { obj: obj, val: value } value: { obj: obj, val: value }
} }