refactoring

This commit is contained in:
Oleg Hasjanov 2021-06-01 13:02:28 +03:00
parent 93f9eff20d
commit 539cebe7ec
4 changed files with 34 additions and 10 deletions

View file

@ -3,6 +3,22 @@ module Xsd
SCHEMA_PATH = 'lib/schemas/'.freeze
BASE_URL = 'https://epp.tld.ee/schema/'.freeze
PREFIXES = %w[
domain-eis
all-ee
changePoll
airport
contact
contact-ee
contact-eis
eis
epp
epp-ee
eppcom
host
secDNS
].freeze
attr_reader :xsd_schemas, :for_prefix
def initialize(params)