mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
111864739-method_scope_changed
This commit is contained in:
parent
71aae06dd1
commit
61f08cda9a
1 changed files with 10 additions and 9 deletions
|
@ -100,6 +100,16 @@ class Epp::Contact < Contact
|
||||||
|
|
||||||
res
|
res
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def attach_legal_document(legal_document_data)
|
||||||
|
return unless legal_document_data
|
||||||
|
|
||||||
|
legal_documents.create(
|
||||||
|
document_type: legal_document_data[:type],
|
||||||
|
body: legal_document_data[:body]
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
delegate :ident_attr_valid?, to: :class
|
delegate :ident_attr_valid?, to: :class
|
||||||
|
|
||||||
|
@ -217,15 +227,6 @@ class Epp::Contact < Contact
|
||||||
status_list
|
status_list
|
||||||
end
|
end
|
||||||
|
|
||||||
def attach_legal_document(legal_document_data)
|
|
||||||
return unless legal_document_data
|
|
||||||
|
|
||||||
legal_documents.create(
|
|
||||||
document_type: legal_document_data[:type],
|
|
||||||
body: legal_document_data[:body]
|
|
||||||
)
|
|
||||||
end
|
|
||||||
|
|
||||||
def add_legal_file_to_new frame
|
def add_legal_file_to_new frame
|
||||||
legal_document_data = Epp::Domain.parse_legal_document_from_frame(frame)
|
legal_document_data = Epp::Domain.parse_legal_document_from_frame(frame)
|
||||||
return unless legal_document_data
|
return unless legal_document_data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue