mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 12:47:29 +02:00
Replace some hardcoded schema paths for method calls
This commit is contained in:
parent
a0d0ce3e00
commit
00a0be2341
59 changed files with 481 additions and 480 deletions
|
@ -1,8 +1,8 @@
|
|||
class EppConstraint
|
||||
OBJECT_TYPES = {
|
||||
domain: { domain: 'https://epp.tld.ee/schema/domain-eis-1.0.xsd' },
|
||||
contact: { contact: 'https://epp.tld.ee/schema/contact-ee-1.1.xsd' }
|
||||
}
|
||||
domain: { domain: Xsd::Schema.filename(for_prefix: 'domain-eis') },
|
||||
contact: { contact: Xsd::Schema.filename(for_prefix: 'contact-ee') },
|
||||
}.freeze
|
||||
|
||||
def initialize(type)
|
||||
@type = type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue