Module: EM::Redfinger::LinkHelpers

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

Instance Method Summary collapse

Instance Method Details

#hcardObject

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



7
8
9
# File 'lib/em-redfinger/link_helpers.rb', line 7

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

#open_idObject

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



12
13
14
# File 'lib/em-redfinger/link_helpers.rb', line 12

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.



17
18
19
# File 'lib/em-redfinger/link_helpers.rb', line 17

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.



22
23
24
# File 'lib/em-redfinger/link_helpers.rb', line 22

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