Sha256: b3bcc37788fceb59e8f145ff93dfda89af8f094c260df997b7c943a580ce268a

Contents?: true

Size: 516 Bytes

Versions: 26

Compression:

Stored size: 516 Bytes

Contents

object @product
cache [I18n.locale, current_currency, root_object]
attributes *product_attributes
node(:display_price) { |p| p.display_price.to_s }
node(:has_variants) { |p| p.has_variants? }
child :master => :master do
  extends "spree/api/variants/small"
end

child :variants => :variants do
  extends "spree/api/variants/small"
end

child :option_types => :option_types do
  attributes *option_type_attributes
end

child :product_properties => :product_properties do
  attributes *product_property_attributes
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
spree_api-2.3.13 app/views/spree/api/products/show.v1.rabl
spree_api-2.2.14 app/views/spree/api/products/show.v1.rabl
spree_api-2.3.12 app/views/spree/api/products/show.v1.rabl
spree_api-2.2.13 app/views/spree/api/products/show.v1.rabl
spree_api-2.3.11 app/views/spree/api/products/show.v1.rabl
spree_api-2.2.12 app/views/spree/api/products/show.v1.rabl
spree_api-2.3.10 app/views/spree/api/products/show.v1.rabl
spree_api-2.3.9 app/views/spree/api/products/show.v1.rabl
spree_api-2.2.11 app/views/spree/api/products/show.v1.rabl
spree_api-2.2.10 app/views/spree/api/products/show.v1.rabl
spree_api-2.3.8 app/views/spree/api/products/show.v1.rabl
spree_api-2.3.7 app/views/spree/api/products/show.v1.rabl
spree_api-2.2.9 app/views/spree/api/products/show.v1.rabl
spree_api-2.3.6 app/views/spree/api/products/show.v1.rabl
spree_api-2.2.8 app/views/spree/api/products/show.v1.rabl
spree_api-2.3.5 app/views/spree/api/products/show.v1.rabl
spree_api-2.2.7 app/views/spree/api/products/show.v1.rabl
spree_api-2.3.4 app/views/spree/api/products/show.v1.rabl
spree_api-2.2.6 app/views/spree/api/products/show.v1.rabl
spree_api-2.3.3 app/views/spree/api/products/show.v1.rabl