scinote-web/app/serializers/api/v1/checklist_item_serializer.rb

13 lines
243 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Api
module V1
class ChecklistItemSerializer < ActiveModel::Serializer
type :checklist_items
attributes :id, :text, :checked, :position
include TimestampableModel
end
end
end