Sha256: edddbd64e45c646c4a3504dd0eec3cdce21a5ad6549e11587e562d921795da2f

Contents?: true

Size: 637 Bytes

Versions: 13

Compression:

Stored size: 637 Bytes

Contents

require 'xommelier/atom'

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

      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

13 entries across 13 versions & 1 rubygems

Version Path
xommelier-0.1.30 lib/xommelier/atom/feed.rb
xommelier-0.1.29 lib/xommelier/atom/feed.rb
xommelier-0.1.28 lib/xommelier/atom/feed.rb
xommelier-0.1.27 lib/xommelier/atom/feed.rb
xommelier-0.1.26 lib/xommelier/atom/feed.rb
xommelier-0.1.25 lib/xommelier/atom/feed.rb
xommelier-0.1.24 lib/xommelier/atom/feed.rb
xommelier-0.1.23 lib/xommelier/atom/feed.rb
xommelier-0.1.22 lib/xommelier/atom/feed.rb
xommelier-0.1.21 lib/xommelier/atom/feed.rb
xommelier-0.1.20 lib/xommelier/atom/feed.rb
xommelier-0.1.19 lib/xommelier/atom/feed.rb
xommelier-0.1.18 lib/xommelier/atom/feed.rb