mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Deserializers: Mirror ContactCreate from ContactUpdate
This commit is contained in:
parent
aac74e26f1
commit
a782b19d28
3 changed files with 11 additions and 24 deletions
|
@ -4,24 +4,7 @@ require 'deserializers/xml/contact'
|
|||
|
||||
module Deserializers
|
||||
module Xml
|
||||
class ContactCreate
|
||||
attr_reader :frame
|
||||
|
||||
def initialize(frame)
|
||||
@frame = frame
|
||||
end
|
||||
|
||||
def contact
|
||||
@contact ||= ::Deserializers::Xml::Contact.new(frame).call
|
||||
end
|
||||
|
||||
def legal_document
|
||||
@legal_document ||= ::Deserializers::Xml::LegalDocument.new(frame).call
|
||||
end
|
||||
|
||||
def ident
|
||||
@ident ||= ::Deserializers::Xml::Ident.new(frame).call
|
||||
end
|
||||
class ContactCreate < ContactUpdate
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue