summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/serializers/product_review_serializer.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/serializers/product_review_serializer.rb b/app/serializers/product_review_serializer.rb
new file mode 100644
index 0000000..15b8937
--- /dev/null
+++ b/app/serializers/product_review_serializer.rb
@@ -0,0 +1,6 @@
+# frozen_string_literal: true
+
+# ProductReviewSerializer
+class ProductReview < BaseSerializer
+ attributes :review, :rating, :author_name
+end