Sha256: 5e65c2855945209e202e6a0c8f7a6c408c83575f27c01c25a408d9ad062fcbfe

Contents?: true

Size: 164 Bytes

Versions: 2

Compression:

Stored size: 164 Bytes

Contents

json.meta do
  json.store current_store.id
  json.total_pages @products.total_pages
end

json.data do
  json.array! @products, partial: 'product', as: :product
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 app/views/gemgento/api/v1/products/index.json.jbuilder
gemgento-2.8.0 app/views/gemgento/api/v1/search/show.json.jbuilder