glitch-soc/app/serializers/rest/language_serializer.rb

6 lines
118 B
Ruby

# frozen_string_literal: true
class REST::LanguageSerializer < ActiveModel::Serializer
attributes :code, :name
end