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

11 lines
206 B
Ruby
Raw Normal View History

2018-09-05 15:55:04 +08:00
# frozen_string_literal: true
module Api
module V1
class ExperimentSerializer < ActiveModel::Serializer
type :experiments
2018-09-11 21:35:03 +08:00
attributes :id, :name, :description, :archived
2018-09-05 15:55:04 +08:00
end
end
end