Merge pull request #144 from internetee/111601356-ident_type_validation

111601356 ident type validation
This commit is contained in:
Timo Võhmar 2016-06-07 15:11:44 +03:00
commit b161cfd40c
3 changed files with 12 additions and 0 deletions

View file

@ -132,6 +132,9 @@ class Epp::Contact < Contact
'2302' => [ # Object exists
[:code, :epp_id_taken]
],
'2304' => [ # Object status prohibits operation
[:ident_type, :epp_ident_type_invalid, { value: { obj: 'code', val: code}, interpolation: {code: code}}]
],
'2305' => [ # Association exists
[:domains, :exist]
],