mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Add tests & fixes for epp contact
This commit is contained in:
parent
860c3c8008
commit
7163695ad1
10 changed files with 84 additions and 29 deletions
|
@ -2,6 +2,7 @@ require 'deserializers/xml/legal_document'
|
|||
|
||||
class Contact < ApplicationRecord
|
||||
include Versions # version/contact_version.rb
|
||||
include Roids
|
||||
include EppErrors
|
||||
include UserEvents
|
||||
include Contact::Transferable
|
||||
|
@ -259,10 +260,6 @@ class Contact < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
def roid
|
||||
"EIS-#{id}"
|
||||
end
|
||||
|
||||
# kind of decorator in order to always return statuses
|
||||
# if we use separate decorator, then we should add it
|
||||
# to too many places
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue