mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
Create DomainCreate action
This commit is contained in:
parent
b683fe813c
commit
ccef1053d9
6 changed files with 280 additions and 28 deletions
|
@ -28,6 +28,10 @@ module Epp
|
|||
def create
|
||||
authorize! :create, Epp::Domain
|
||||
|
||||
domain_params = ::Deserializers::Xml::DomainCreate.new(params[:parsed_frame], current_user.registrar.id)
|
||||
puts "Ayy lmao"
|
||||
puts domain_params.call
|
||||
|
||||
if Domain.release_to_auction
|
||||
request_domain_name = params[:parsed_frame].css('name').text.strip.downcase
|
||||
domain_name = DNS::DomainName.new(SimpleIDN.to_unicode(request_domain_name))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue