make supporting version for schema

This commit is contained in:
Oleg Hasjanov 2021-06-25 14:27:40 +03:00
parent 4917a2cb00
commit 1665e6e71e
11 changed files with 48 additions and 14 deletions

View file

@ -1,8 +1,8 @@
class EppConstraint
OBJECT_TYPES = {
domain: [
{ domain: Xsd::Schema.filename(for_prefix: 'domain-ee') },
{ domain: Xsd::Schema.filename(for_prefix: 'domain-eis') },
{ domain: Xsd::Schema.filename(for_prefix: 'domain-ee', for_version: '1.1') },
{ domain: Xsd::Schema.filename(for_prefix: 'domain-eis', for_version: '1.0') },
],
contact: { contact: Xsd::Schema.filename(for_prefix: 'contact-ee') },
}.freeze