mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Basic domain check command implementation
This commit is contained in:
parent
f8757891ef
commit
cd52da3f8f
8 changed files with 49 additions and 9 deletions
|
@ -4,8 +4,17 @@ module Epp::DomainsHelper
|
|||
render '/epp/domains/create'
|
||||
end
|
||||
|
||||
def check_domain
|
||||
cp = command_params_for('check')
|
||||
@domain = cp[:name]
|
||||
|
||||
render '/epp/domains/check'
|
||||
end
|
||||
|
||||
### HELPER METHODS ###
|
||||
|
||||
def domain_params
|
||||
cp = command_params
|
||||
cp = command_params_for('create')
|
||||
{
|
||||
name: cp[:name],
|
||||
registrar_id: current_epp_user.registrar.try(:id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue