Module: Redfinger::LinkHelpers

Included in:
Finger
Defined in:
lib/redfinger/link_helpers.rb

Instance Method Summary collapse

Instance Method Details

#hcardObject

An array of links with hCard information about this e-mail address.



6
7
8
# File 'lib/redfinger/link_helpers.rb', line 6

def hcard
  relmap('http://microformats.org/profile/hcard')
end

#open_idObject

An array of links of OpenID providers for this e-mail address.



11
12
13
# File 'lib/redfinger/link_helpers.rb', line 11

def open_id
  relmap('http://specs.openid.net/auth/', true)
end

#profile_pageObject

An array of links to profile pages belonging to this e-mail address.



16
17
18
# File 'lib/redfinger/link_helpers.rb', line 16

def profile_page
  relmap('http://webfinger.net/rel/profile-page')
end

#xfnObject

An array of links to XFN compatible URLs for this e-mail address.



21
22
23
# File 'lib/redfinger/link_helpers.rb', line 21

def xfn
  relmap('http://gmpg.org/xfn/', true)
end