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

11 lines
213 B
Ruby
Raw Normal View History

2018-09-05 15:55:04 +08:00
# frozen_string_literal: true
module Api
module V1
2018-10-07 01:53:31 +08:00
class TaskSerializer < ActiveModel::Serializer
type :tasks
attributes :id, :name, :due_date, :description, :state, :archived
2018-09-05 15:55:04 +08:00
end
end
end