Sha256: a33728d1bfb326c0a02c7dcfd9cbad6b2ebae84861f9e34eb1c879baa1f6bfb8

Contents?: true

Size: 734 Bytes

Versions: 1

Compression:

Stored size: 734 Bytes

Contents

# frozen_string_literal: true

################################################
# © Alexander Semyonov, 2011—2013, MIT License #
# Author: Alexander Semyonov <al@semyonov.us>  #
################################################

require 'xommelier/rss'
require 'xommelier/atom'
require 'xommelier/atom/history'

module Xommelier
  module RSS
    class Channel
      may do
        element :id, ns: Atom.xmlns
        element :complete, type: Atom::History::Complete
        element :archive, type: Atom::History::Archive
      end
      element :atom_link, type: Atom::Link, count: :any
    end

    class Item
      element :id, ns: Atom.xmlns, count: :may
      element :atom_link, type: Atom::Link, count: :any
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xommelier-0.1.35 lib/xommelier/rss/atomic.rb