lib/roar/representer/xml.rb in roar-0.10.2 vs lib/roar/representer/xml.rb in roar-0.11.0
- old
+ new
@@ -45,17 +45,15 @@
def deserialize(*args)
from_xml(*args)
end
end
+
+ require 'representable/xml/hash'
module HyperlinkRepresenter
- include XML
+ include Representable::XML::AttributeHash
self.representation_wrap = :link
-
- Feature::Hypermedia::Hyperlink.params.each do |attr|
- property attr, :attribute => true
- end
end
end
end
end