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

13 lines
226 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Api
module V1
class ProtocolKeywordSerializer < ActiveModel::Serializer
type :protocol_keywords
attributes :id, :name
include TimestampableModel
end
end
end