mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 15:13:21 +08:00
11 lines
277 B
Ruby
11 lines
277 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Api
|
|
module V1
|
|
class ExperimentSerializer < ActiveModel::Serializer
|
|
type :experiment
|
|
attributes :id, :name, :description, :project_id, :created_by_id,
|
|
:archived, :created_at, :updated_at
|
|
end
|
|
end
|
|
end
|