lib/ivy/serializers/documents/individual_resource.rb in ivy-serializers-0.2.0 vs lib/ivy/serializers/documents/individual_resource.rb in ivy-serializers-0.3.0

- old
+ new

@@ -2,11 +2,11 @@ module Ivy module Serializers module Documents class IndividualResource < Document - def generate_linked(generator) - @serializer.links(self, @primary_resource) + def generate_included(generator) + @serializer.relationships(self, @primary_resource) super end def generate_primary_resource(generator) generator.primary_resource(@primary_resource_name, @primary_resource)