class Api::GoodSerializer

Defined in:

serializers/api/good_serializer.cr

Constructors

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) #

[View source]

Instance Method Detail

def render #

[View source]