diff options
author | HombreLaser <sebastian-440@live.com> | 2023-04-01 12:48:28 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-04-01 12:48:28 -0600 |
commit | bd3a6121c068f871dc5bd40c79c052e33fcd330e (patch) | |
tree | cf2a660f43ae0e2a823a662bc65c8dd193ac8d70 /app | |
parent | 753bf8499ba5d8815db8d08a1dcf69caa20660cf (diff) |
Añade serializador de ProductReview
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/product_review_serializer.rb | 6 |
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 |