mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Merge pull request #2588 from internetee/update-nokogiri
Refactored parsed response for dnskey
This commit is contained in:
commit
61c7b59cc4
1 changed files with 4 additions and 1 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue