scinote-web/app/serializers/api/v1/experiment_serializer.rb
2018-09-10 15:21:45 +02:00

12 lines
278 B
Ruby

# frozen_string_literal: true
module Api
module V1
class ExperimentSerializer < ActiveModel::Serializer
type :experiments
attributes :id, :name, :description, :project_id, :created_by_id,
:archived, :created_at, :updated_at
end
end
end