module WebFinger::Client


The client.

Defined in:


Class Method Summary

Class Method Detail

def self.query(account, attempts = 10) #

Returns the result of querying for the specified account.

The account should conform to the 'acct' URI Scheme.

w = WebFinger.query("") # => #<WebFinger::Result:0x108d...>"").href # => ""

Raises WebFinger::NotFoundError if the account does not exist and WebFinger::RedirectionError if redirection failed. Otherwise, returns WebFinger::Result.

[View source]