Sha256: 9b15eb97437fc412ae96d1f601f2f358fd6cd3a09d52bb9b48c2dd0d77ba1d68
Contents?: true
Size: 742 Bytes
Versions: 15
Compression:
Stored size: 742 Bytes
Contents
object @product cache [I18n.locale, @current_user_roles.include?('admin'), current_currency, root_object] attributes *product_attributes node(:display_price) { |p| p.display_price.to_s } node(:has_variants) { |p| p.has_variants? } node(:taxon_ids) { |p| p.taxon_ids } 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 child :classifications => :classifications do attributes :taxon_id, :position child(:taxon) do extends "spree/api/taxons/show" end end
Version data entries
15 entries across 15 versions & 1 rubygems