Sha256: 9ba6acf9b1f7d536ade58279fc8c9c7a1942797c49c5fae1b4e356703da812e3

Contents?: true

Size: 649 Bytes

Versions: 5

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 :link,        type: Link
        element :entry,       type: Entry
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xommelier-0.1.16 lib/xommelier/atom/feed.rb
xommelier-0.1.15 lib/xommelier/atom/feed.rb
xommelier-0.1.14 lib/xommelier/atom/feed.rb
xommelier-0.1.13 lib/xommelier/atom/feed.rb
xommelier-0.1.12 lib/xommelier/atom/feed.rb