Sha256: cc6b719457e8afcd92db8c829b97f78f968cc231fab0f125a333a7c7e3cb703e
Contents?: true
Size: 843 Bytes
Versions: 2
Compression:
Stored size: 843 Bytes
Contents
# coding: utf-8 # frozen_string_literal: true ################################################ # © Alexander Semyonov, 2011—2013, MIT License # # Author: Alexander Semyonov <al@semyonov.us> # ################################################ require 'xommelier/atom' module Xommelier module Atom class Entry < Xml::Element include LinksExtension element :id, unique: true element :title element :updated, type: Time may do element :content, type: Content element :published, type: Time element :rights element :source element :summary end any do element :author, type: Person element :category, type: Category element :contributor, type: Person element :link, type: Link end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xommelier-0.1.34 | lib/xommelier/atom/entry.rb |
xommelier-0.1.33 | lib/xommelier/atom/entry.rb |