lib/roar/representer/xml.rb in roar-0.11.18 vs lib/roar/representer/xml.rb in roar-0.11.19

- old
+ new

@@ -38,10 +38,10 @@ include Representable::XML::ClassMethods def links_definition_options # FIXME: this doesn't belong into the generic XML representer. [:links_array, {:from => :link, :class => Feature::Hypermedia::Hyperlink, :collection => true, :extend => XML::HyperlinkRepresenter, - :decorator_scope => true, :getter => lambda { |*| links_array }, :setter => lambda { |val,*| self.links_array=(val) } }] # TODO: merge with JSON. + :decorator_scope => true}] # TODO: merge with JSON. end # Generic entry-point for parsing. def deserialize(*args) from_xml(*args)