We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fc7ef2 commit bb7805aCopy full SHA for bb7805a
lib/webmention/url.rb
@@ -35,7 +35,7 @@ def response
35
36
# @return [String, nil]
37
def webmention_endpoint
38
- @webmention_endpoint ||= IndieWeb::Endpoints::Parser.new(response).results[:webmention] if response.ok?
+ @webmention_endpoint ||= IndieWeb::Endpoints::Parser.new(response).to_h[:webmention] if response.ok?
39
end
40
41
# @return [Boolean]
0 commit comments