fix yardoc warnings

This commit is contained in:
Benjamin Neff 2015-06-19 01:30:37 +02:00
parent 914cd06a78
commit 28694e28cf
2 changed files with 2 additions and 2 deletions

View file

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

View file

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