Module: EM::Redfinger::LinkHelpers
- Included in:
- Finger
- Defined in:
- lib/em-redfinger/link_helpers.rb
Instance Method Summary collapse
-
#hcard ⇒ Object
An array of links with hCard information about this e-mail address.
-
#open_id ⇒ Object
An array of links of OpenID providers for this e-mail address.
-
#profile_page ⇒ Object
An array of links to profile pages belonging to this e-mail address.
-
#xfn ⇒ Object
An array of links to XFN compatible URLs for this e-mail address.
Instance Method Details
#hcard ⇒ Object
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_id ⇒ Object
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_page ⇒ Object
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 |
#xfn ⇒ Object
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 |