mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Basic transfer command for domain
This commit is contained in:
parent
bb78c0f581
commit
707c60b36e
8 changed files with 76 additions and 2 deletions
|
@ -9,6 +9,8 @@ module Epp::Common
|
|||
included do
|
||||
protect_from_forgery with: :null_session
|
||||
before_action :validate_request, only: [:proxy]
|
||||
|
||||
helper_method :current_epp_user
|
||||
end
|
||||
|
||||
def proxy
|
||||
|
|
|
@ -14,6 +14,10 @@ class Epp::CommandsController < ApplicationController
|
|||
send("renew_#{OBJECT_TYPES[params_hash['epp']['xmlns:ns2']]}")
|
||||
end
|
||||
|
||||
def transfer
|
||||
send("transfer_#{OBJECT_TYPES[params_hash['epp']['xmlns:ns2']]}")
|
||||
end
|
||||
|
||||
def check
|
||||
send("check_#{OBJECT_TYPES[params_hash['epp']['xmlns:ns2']]}")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue