gab-social/app/serializers/rest/poll_option_serializer.rb

6 lines
128 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
class REST::PollOptionSerializer < ActiveModel::Serializer
attributes :title, :votes_count
end