7 lines
188 B
Ruby
7 lines
188 B
Ruby
|
class TaskItemSerializer < ApplicationSerializer
|
||
|
def serialize
|
||
|
{
|
||
|
**item_properties(:id, :task_list_id, :name, :quantity, :completed, :created_at, :updated_at)
|
||
|
}
|
||
|
end
|
||
|
end
|