Remove dead code

This commit is contained in:
Maciej Szlosarczyk 2020-06-05 10:33:00 +03:00
parent bacdebd17c
commit 94078fe71e
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765

View file

@ -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)