module Goldfinger
Public Class Methods
finger(uri, opts = {})
click to toggle source
Returns result for the Webfinger query
@raise [Goldfinger::NotFoundError] Error
raised when the Webfinger resource could not be retrieved @raise [Goldfinger::SSLError] Error
raised when there was a SSL error when fetching the resource @param uri [String] A full resource identifier in the format acct:user@example.com @param opts [Hash] Options passed to HTTP.rb client @return [Goldfinger::Result]
# File lib/goldfinger.rb, line 23 def self.finger(uri, opts = {}) Goldfinger::Client.new(uri, opts).finger end