From 005519d9d934dd8d26d66aa63978e628a56aff0a Mon Sep 17 00:00:00 2001 From: Jan Werkhoven Date: Sun, 11 Feb 2024 19:49:24 +1100 Subject: [PATCH] Add comments to public serializers --- app/serializers/v1/public/client_side_render_serializer.rb | 1 + app/serializers/v1/public/page_view_serializer.rb | 1 + app/serializers/v1/public/server_side_render_serializer.rb | 1 + 3 files changed, 3 insertions(+) diff --git a/app/serializers/v1/public/client_side_render_serializer.rb b/app/serializers/v1/public/client_side_render_serializer.rb index 73a35de..8c40b1f 100644 --- a/app/serializers/v1/public/client_side_render_serializer.rb +++ b/app/serializers/v1/public/client_side_render_serializer.rb @@ -1,6 +1,7 @@ module V1 module Public class ClientSideRenderSerializer < ApplicationSerializer + # Return nothing apart from the ID and type. end end end diff --git a/app/serializers/v1/public/page_view_serializer.rb b/app/serializers/v1/public/page_view_serializer.rb index ad318ad..85f60fc 100644 --- a/app/serializers/v1/public/page_view_serializer.rb +++ b/app/serializers/v1/public/page_view_serializer.rb @@ -1,6 +1,7 @@ module V1 module Public class PageViewSerializer < ApplicationSerializer + # Return nothing apart from the ID and type. end end end diff --git a/app/serializers/v1/public/server_side_render_serializer.rb b/app/serializers/v1/public/server_side_render_serializer.rb index 0d4cf52..3bfdf36 100644 --- a/app/serializers/v1/public/server_side_render_serializer.rb +++ b/app/serializers/v1/public/server_side_render_serializer.rb @@ -1,6 +1,7 @@ module V1 module Public class ServerSideRenderSerializer < ApplicationSerializer + # Return nothing apart from the ID and type. end end end