mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 17:53:35 +02:00
Add basic domain creating via EPP
This commit is contained in:
parent
8c1ea03f95
commit
aa88c30565
4 changed files with 34 additions and 1 deletions
6
app/helpers/epp/commands_helper.rb
Normal file
6
app/helpers/epp/commands_helper.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
module Epp::CommandsHelper
|
||||
def command_params
|
||||
node_set = parsed_frame.css('epp command create create').children.select(&:element?)
|
||||
node_set.inject({}) {|hash, obj| hash[obj.name.to_sym] = obj.text;hash }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue