lib/ivy/serializers/formats/active_model_serializers.rb in ivy-serializers-0.2.0 vs lib/ivy/serializers/formats/active_model_serializers.rb in ivy-serializers-0.3.0
- old
+ new
@@ -27,13 +27,9 @@
def primary_resource(primary_resource_name, primary_resource)
super(singularize(primary_resource_name).to_sym, primary_resource)
end
- def primary_resources(primary_resources_name, primary_resources)
- super(primary_resources_name, primary_resources)
- end
-
private
def polymorphic_resource(resource)
id(:id, resource)
type(:type, resource)