Sha256: c9e2efff3f51f78a8ed6d9b05b018e592abb3b6827e2367de68c5d21a99b598d

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

module Sword2Ruby
  
  #This class overrides the Atom <app:accept> class and ensures that the "alternate" attribute
  #is preserved in the tag, required for processing Sword documents.
  class SwordAccept < ::Atom::Text
    is_element ATOM_PUBLISHING_PROTOCOL_NAMESPACE, :accept
    attrb ATOM_PUBLISHING_PROTOCOL_NAMESPACE, :alternate
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sword2ruby-1.0.1 lib/sword2ruby/sword_accept.rb
sword2ruby-1.0.0 lib/sword2ruby/sword_accept.rb