Sha256: cfcac9d24c8ad255d7fa90334e045ec80acb1dca353345fa6d4ca684e0cd5be4

Contents?: true

Size: 363 Bytes

Versions: 30

Compression:

Stored size: 363 Bytes

Contents

require 'xommelier/atom'

module Xommelier
  module Atom
    class Link < Xml::Element
      attribute :href, type: Uri

      may do
        attribute :rel#, type: Enum(:alternate, :related, :self, :enclosure, :via)
        attribute :type
        attribute :hreflang
        attribute :title
        attribute :length, type: Integer
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
xommelier-0.1.30 lib/xommelier/atom/link.rb
xommelier-0.1.29 lib/xommelier/atom/link.rb
xommelier-0.1.28 lib/xommelier/atom/link.rb
xommelier-0.1.27 lib/xommelier/atom/link.rb
xommelier-0.1.26 lib/xommelier/atom/link.rb
xommelier-0.1.25 lib/xommelier/atom/link.rb
xommelier-0.1.24 lib/xommelier/atom/link.rb
xommelier-0.1.23 lib/xommelier/atom/link.rb
xommelier-0.1.22 lib/xommelier/atom/link.rb
xommelier-0.1.21 lib/xommelier/atom/link.rb
xommelier-0.1.20 lib/xommelier/atom/link.rb
xommelier-0.1.19 lib/xommelier/atom/link.rb
xommelier-0.1.18 lib/xommelier/atom/link.rb
xommelier-0.1.16 lib/xommelier/atom/link.rb
xommelier-0.1.15 lib/xommelier/atom/link.rb
xommelier-0.1.14 lib/xommelier/atom/link.rb
xommelier-0.1.13 lib/xommelier/atom/link.rb
xommelier-0.1.12 lib/xommelier/atom/link.rb
xommelier-0.1.11 lib/xommelier/atom/link.rb
xommelier-0.1.10 lib/xommelier/atom/link.rb