Sha256: 62a7f39217978093693cf15ca56d23c30605433fcc640de3ce0f405e7a05a9d2

Contents?: true

Size: 619 Bytes

Versions: 5

Compression:

Stored size: 619 Bytes

Contents

require 'xommelier/atom'

module Xommelier
  module Atom
    class Feed < Xml::Element
      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

5 entries across 5 versions & 1 rubygems

Version Path
xommelier-0.1.2 lib/xommelier/atom/feed.rb
xommelier-0.1.1 lib/xommelier/atom/feed.rb
xommelier-0.1.0 lib/xommelier/atom/feed.rb
xommelier-0.0.2 lib/xommelier/atom/feed.rb
xommelier-0.0.1 lib/xommelier/atom/feed.rb