Sha256: 2a37abfc4bff58b36601673f30f660fe8d9f5345e6a28b95ceb741d07a9a7a93
Contents?: true
Size: 352 Bytes
Versions: 16
Compression:
Stored size: 352 Bytes
Contents
require 'xommelier/atom' module Xommelier module Atom module LinksExtension def feed_url links.find { |link| link.rel == 'self' && link.type == 'application/atom+xml' }.try(:href) end def html_url links.find { |link| link.rel == 'alternate' && link.type == 'text/html' }.try(:href) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems