Sha256: 8cc1a7137d981a7cf271f7bfe8b04952d88b02186eae542cdbd5de4ee58721b4

Contents?: true

Size: 340 Bytes

Versions: 5

Compression:

Stored size: 340 Bytes

Contents

object false
node(:count) { @products.count }
node(:total_count) { @products.total_count }
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
node(:per_page) { params[:per_page] || Kaminari.config.default_per_page }
node(:pages) { @products.total_pages }
child(@products => :products) do
  extends "spree/api/products/show"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_api-1.3.2 app/views/spree/api/products/index.v1.rabl
solidus_api-1.3.1 app/views/spree/api/products/index.v1.rabl
solidus_api-1.3.0 app/views/spree/api/products/index.v1.rabl
solidus_api-1.3.0.rc2 app/views/spree/api/products/index.v1.rabl
solidus_api-1.3.0.rc1 app/views/spree/api/products/index.v1.rabl