Sha256: e4e80deea62aee2357513d351dea492999f0973b00a39836b79b389289735d70
Contents?: true
Size: 537 Bytes
Versions: 8
Compression:
Stored size: 537 Bytes
Contents
cache [I18n.locale, @current_user_roles.include?('admin'), 'small_variant', root_object] attributes *variant_attributes node(:display_price) { |p| p.display_price.to_s } node(:options_text) { |v| v.options_text } node(:in_stock) { |v| v.in_stock? } node(:is_backorderable) { |v| v.is_backorderable? } node(:total_on_hand) { |v| v.total_on_hand } node(:is_destroyed) { |v| v.destroyed? } child :option_values => :option_values do attributes *option_value_attributes end child(:images => :images) { extends "spree/api/images/show" }
Version data entries
8 entries across 8 versions & 1 rubygems