Refactored parsed response for dnskey

This commit is contained in:
Sergei Tsoganov 2023-06-07 11:36:33 +03:00
parent 4dd355ffa2
commit ec37b86ef2

View file

@ -171,7 +171,10 @@ module Epp
end
def parsed_response_for_dnskey(value)
doc = Nokogiri::Slop params[:parsed_frame].css(value).to_html
frame = params[:parsed_frame].css(value)
return true if frame.empty?
doc = Nokogiri::Slop frame.to_html
return true if doc.document.children.empty?
store = []