lib/roar/representer/xml.rb in roar-0.11.5 vs lib/roar/representer/xml.rb in roar-0.11.6
- old
+ new
@@ -45,9 +45,13 @@
def deserialize(*args)
from_xml(*args)
end
end
+ def links_definition_options # FIXME: remove me ASAP!
+ [:links_array, {:from => :link, :class => Feature::Hypermedia::Hyperlink, :collection => true, :extend => XML::HyperlinkRepresenter}]
+ end
+
require 'representable/xml/hash'
module HyperlinkRepresenter
include Representable::XML::AttributeHash