Sha256: 10ce65ca1d807cda9ccd1f3a6d7fe580cde416b34ef7f0074f8f3d9e174acdec

Contents?: true

Size: 571 Bytes

Versions: 7

Compression:

Stored size: 571 Bytes

Contents

object @product
cache [current_currency, root_object]
attributes *product_attributes
node(:display_price) { |p| p.display_price.to_s }
child :variants_including_master => :variants do
  attributes *variant_attributes

  child :option_values => :option_values do
    extends "spree/api/option_values/show"
  end
  
  child :images => :images do
    extends "spree/api/images/show"
  end
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

7 entries across 7 versions & 1 rubygems

Version Path
spree_api-2.1.12 app/views/spree/api/products/show.v1.rabl
spree_api-2.1.11 app/views/spree/api/products/show.v1.rabl
spree_api-2.1.10 app/views/spree/api/products/show.v1.rabl
spree_api-2.1.9 app/views/spree/api/products/show.v1.rabl
spree_api-2.1.8 app/views/spree/api/products/show.v1.rabl
spree_api-2.1.7 app/views/spree/api/products/show.v1.rabl
spree_api-2.1.6 app/views/spree/api/products/show.v1.rabl