Adding inherits_properties to BPE

This commit is contained in:
Rob Harrington
2015-04-22 12:51:00 +10:00
parent 5d6f265c0a
commit f610a709e1
6 changed files with 24 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
class Api::Admin::ProductSerializer < ActiveModel::Serializer
attributes :id, :name, :variant_unit, :variant_unit_scale, :variant_unit_name, :on_demand
attributes :id, :name, :variant_unit, :variant_unit_scale, :variant_unit_name, :on_demand, :inherits_properties
attributes :on_hand, :price, :available_on, :permalink_live