Sha256: 18650f91e0dd6172029628769fe1874caefadd69323e4248a31a8441c1b8991b
Contents?: true
Size: 810 Bytes
Versions: 1
Compression:
Stored size: 810 Bytes
Contents
require 'xommelier/atom' module Xommelier module Atom module Thread include Xommelier::Xml xmlns 'http://purl.org/syndication/thread/1.0', as: :thr class InReplyTo < Xml::Element element_name 'in-reply-to' attribute :ref may do attribute :href, type: Uri attribute :type, type: String attribute :source end end end # Extends Atom elements class Entry may do element :in_reply_to, type: Thread::InReplyTo, as: Thread::InReplyTo.element_name element :total, type: Integer, ns: Thread.xmlns end end class Link may do attribute :count, type: Integer, ns: Thread.xmlns attribute :updated, type: Time, ns: Thread.xmlns end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xommelier-0.1.2 | lib/xommelier/atom/thread.rb |