mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Remove dead code
This commit is contained in:
parent
bacdebd17c
commit
94078fe71e
1 changed files with 0 additions and 11 deletions
|
@ -57,17 +57,6 @@ class Epp::Contact < Contact
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
def legal_document_attrs(legal_frame)
|
|
||||||
return [] if legal_frame.blank?
|
|
||||||
return [] if legal_frame.try('text').blank?
|
|
||||||
return [] if legal_frame.attr('type').blank?
|
|
||||||
|
|
||||||
[{
|
|
||||||
body: legal_frame.text,
|
|
||||||
document_type: legal_frame.attr('type')
|
|
||||||
}]
|
|
||||||
end
|
|
||||||
|
|
||||||
def check_availability(codes)
|
def check_availability(codes)
|
||||||
codes = [codes] if codes.is_a?(String)
|
codes = [codes] if codes.is_a?(String)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue