Sha256: 01f24a8ec59dd46f6b5fe7f3be13a40c427f50a3768ec6d80a5ee6fa9995f942

Contents?: true

Size: 649 Bytes

Versions: 9

Compression:

Stored size: 649 Bytes

Contents

require 'xommelier/atom'

module Xommelier
  module Atom
    class Feed < Xml::Element
      include LinksExtension

      root

      element :id, unique: true
      element :title
      element :updated, type: Time

      may do
        element :generator, type: Generator
        element :icon
        element :logo
        element :rights
        element :subtitle, type: String
      end

      any do
        element :author,      type: Person
        element :category,    type: Category
        element :contributor, type: Person
        element :entry,       type: Entry
        element :link,        type: Link
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
xommelier-0.1.11 lib/xommelier/atom/feed.rb
xommelier-0.1.10 lib/xommelier/atom/feed.rb
xommelier-0.1.9 lib/xommelier/atom/feed.rb
xommelier-0.1.8 lib/xommelier/atom/feed.rb
xommelier-0.1.7 lib/xommelier/atom/feed.rb
xommelier-0.1.6 lib/xommelier/atom/feed.rb
xommelier-0.1.5 lib/xommelier/atom/feed.rb
xommelier-0.1.4 lib/xommelier/atom/feed.rb
xommelier-0.1.3 lib/xommelier/atom/feed.rb