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

11 lines
192 B
Ruby
Raw Normal View History

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