mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
Fix all tests
This commit is contained in:
parent
9def6a7c27
commit
48710b41f7
4 changed files with 5 additions and 6 deletions
|
@ -1,13 +1,12 @@
|
|||
module Epp::ContactsHelper
|
||||
def create_contact
|
||||
ph = params_hash
|
||||
ph = params_hash['epp']['command']['create']['create']
|
||||
|
||||
@contact = Contact.new(
|
||||
code: ph[:id],
|
||||
name: ph[:postalInfo][:name],
|
||||
phone: ph[:voice],
|
||||
email: ph[:email],
|
||||
reg_no: ph[:ident]
|
||||
email: ph[:email]
|
||||
)
|
||||
|
||||
@contact.addresses << Address.new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue