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

10 lines
209 B
Ruby

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