mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
18 lines
411 B
Ruby
18 lines
411 B
Ruby
class Epp::CommandsController < ApplicationController
|
|
include Epp::Common
|
|
include Epp::DomainsHelper
|
|
include Epp::ContactsHelper
|
|
|
|
private
|
|
def create
|
|
send("create_#{OBJECT_TYPES[params_hash['epp']['xmlns:ns2']]}")
|
|
end
|
|
|
|
def check
|
|
send("check_#{OBJECT_TYPES[params_hash['epp']['xmlns:ns2']]}")
|
|
end
|
|
|
|
def delete
|
|
send("delete_#{OBJECT_TYPES[params_hash['epp']['xmlns:ns2']]}")
|
|
end
|
|
end
|