mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Domain xsd + enable validation
This commit is contained in:
parent
48710b41f7
commit
1f468352c8
3 changed files with 449 additions and 13 deletions
|
@ -3,11 +3,6 @@ class Epp::CommandsController < ApplicationController
|
|||
include Epp::DomainsHelper
|
||||
include Epp::ContactsHelper
|
||||
|
||||
OBJECT_TYPES = {
|
||||
'urn:ietf:params:xml:ns:contact-1.0' => 'contact',
|
||||
'urn:ietf:params:xml:ns:domain-1.0' => 'domain'
|
||||
}
|
||||
|
||||
private
|
||||
def create
|
||||
send("create_#{OBJECT_TYPES[params_hash['epp']['xmlns:ns2']]}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue