class Api::GoodSerializer
- Api::GoodSerializer
- BaseSerializer
- Lucky::Serializer
- Reference
- Object
Defined in:
serializers/api/good_serializer.crConstructors
Instance Method Summary
Class methods inherited from class BaseSerializer
for_collection(collection : Enumerable, *args, **named_args)
for_collection
Constructor Detail
def self.new(good : Good, unit : Unit | Nil = nil, categories : CategoryQuery | Array(Category) | Nil = nil, in_stores : Array(Hash(String, InStoresValue)) | Nil = nil, order_items : OrderItemQuery | Array(OrderItem) | Nil = nil)
#