JSONApi part1
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Used for user ember1
|
||||
class Users::ProductOrderSerializer < Qwaiter::Serializer
|
||||
attributes :quantity, :price, :product_name, :product_variant
|
||||
# belongs_to :product #DO NOT USE THIS, THIS IS NOT NEEDED
|
||||
belongs_to :order
|
||||
end
|
||||
Reference in New Issue
Block a user