serializer stuff

This commit is contained in:
2015-09-14 18:53:58 +02:00
parent 36e5b21b13
commit ef894f9e02
37 changed files with 141 additions and 63 deletions
@@ -1,4 +1,5 @@
class Suppliers::ProductVariantSerializer
include Qwaiter::SupplierBaseSerializer
attributes :name
has_one :product, serializer: Suppliers::ProductSerializer
end