Sha256: 67c9858e73832222dc0c9e9c5c363f55694d26638c7ce32748685a4879f649c4

Contents?: true

Size: 272 Bytes

Versions: 9

Compression:

Stored size: 272 Bytes

Contents

object false
node(:count) { @variants.count }
node(:total_count) { @variants.total_count }
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
node(:pages) { @variants.num_pages }

child(@variants => :variants) do
  extends "spree/api/variants/big_variant"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree_api-2.1.12 app/views/spree/api/variants/index.v1.rabl
spree_api-2.1.11 app/views/spree/api/variants/index.v1.rabl
spree_api-2.1.10 app/views/spree/api/variants/index.v1.rabl
spree_api-2.1.9 app/views/spree/api/variants/index.v1.rabl
spree_api-2.1.8 app/views/spree/api/variants/index.v1.rabl
spree_api-2.1.7 app/views/spree/api/variants/index.v1.rabl
spree_api-2.1.6 app/views/spree/api/variants/index.v1.rabl
spree_api-2.1.5 app/views/spree/api/variants/index.v1.rabl
spree_api-2.1.4 app/views/spree/api/variants/index.v1.rabl