mirror of
https://github.com/internetee/registry.git
synced 2025-07-14 06:55:11 +02:00
Refactor
This commit is contained in:
parent
2187be6364
commit
acb65c47d6
7 changed files with 39 additions and 70 deletions
|
@ -1,13 +1,5 @@
|
|||
module Epp::ContactsHelper
|
||||
def create_contact
|
||||
ccp = contact_create_params
|
||||
end
|
||||
|
||||
### HELPER METHODS ###
|
||||
|
||||
def contact_create_params
|
||||
{
|
||||
addr: get_params_hash('epp command create create postalInfo addr')
|
||||
}
|
||||
cp = Hash.from_xml(parsed_frame.css("epp command create create").to_xml).with_indifferent_access
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue