scinote-web/app/serializers/api/v1/experiment_serializer.rb
2018-09-11 15:35:03 +02:00

10 lines
206 B
Ruby

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