Module: Xommelier::Atom::LinksExtension

Included in:
Entry, Feed
Defined in:
lib/xommelier/atom/links_extension.rb

Instance Method Summary collapse

Instance Method Details

#feed_urlObject



13
14
15
# File 'lib/xommelier/atom/links_extension.rb', line 13

def feed_url
  detect_linked_href(rel: 'self', type: 'application/atom+xml')
end

#html_urlObject



17
18
19
# File 'lib/xommelier/atom/links_extension.rb', line 17

def html_url
  detect_linked_href(rel: 'alternate', type: 'text/html')
end