From bd3a6121c068f871dc5bd40c79c052e33fcd330e Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sat, 1 Apr 2023 12:48:28 -0600 Subject: AƱade serializador de ProductReview MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/serializers/product_review_serializer.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/serializers/product_review_serializer.rb (limited to 'app/serializers/product_review_serializer.rb') 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 -- cgit v1.2.3