bigcommerce/bigcommerce-api-ruby

View on GitHub
lib/bigcommerce/resources/products/product_review.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

# Product Review
# Options associated directly with a product.
# https://developer.bigcommerce.com/api/stores/v2/products/reviews

module Bigcommerce
  class ProductReview < Resource
    include Bigcommerce::SubresourceActions.new uri: 'products/%d/reviews/%d'

    property :id
    property :product_id
    property :author
    property :date_created
    property :rating
    property :title
    property :review
    property :status
  end
end