Class: Xommelier::Atom::Entry

Inherits:
Xml::Element show all
Includes:
LinksExtension
Defined in:
lib/xommelier/atom/threading.rb,
lib/xommelier/atom/entry.rb

Overview

Extends Atom elements

Constant Summary

Constants included from Xml::Element::Serialization

Xml::Element::Serialization::SAVE_OPTIONS, Xml::Element::Serialization::SERIALIZATION_OPTIONS

Instance Attribute Summary

Attributes inherited from Xml::Element

#options

Attributes included from Xml::Element::Namespace

#schema_validation_errors

Instance Method Summary collapse

Methods included from LinksExtension

#feed_url, #html_url

Methods inherited from Xml::Element

#initialize, #inspect

Methods included from Xml::Element::Serialization

#<=>, #==, #=~, #from_xml, #to_hash, #to_nokogiri, #to_s, #to_xml

Methods included from Xml::Element::Namespace

#valid?

Constructor Details

This class inherits a constructor from Xommelier::Xml::Element

Instance Method Details

#replies_feed_urlObject



39
40
41
# File 'lib/xommelier/atom/threading.rb', line 39

def replies_feed_url
  links.find { |link| link.rel == 'replies' && link.type == 'application/atom+xml' }.try(:href)
end