fix yardoc warnings
This commit is contained in:
parent
914cd06a78
commit
28694e28cf
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ module DiasporaFederation
|
|||
##
|
||||
# this is the pre RFC 7033 webfinger
|
||||
#
|
||||
# GET /webfinger?q={uri}
|
||||
# GET /webfinger?q=<uri>
|
||||
def legacy_webfinger
|
||||
@person = find_person(params[:q]) if params[:q]
|
||||
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ module DiasporaFederation
|
|||
|
||||
##
|
||||
# Gets the webfinger url from an XRD data structure
|
||||
# @param [Hash] extracted data
|
||||
# @param [Hash] data extracted data
|
||||
# @return [String] webfinger url
|
||||
def self.webfinger_url_from_xrd(data)
|
||||
link = data[:links].find {|l| (l[:rel] == "lrdd" && l[:type] == "application/xrd+xml") }
|
||||
|
|
|
|||
Loading…
Reference in a new issue