mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-21 00:56:14 +00:00
10 lines
188 B
Ruby
10 lines
188 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class REST::FeaturedTagSerializer < ActiveModel::Serializer
|
||
|
attributes :id, :name, :statuses_count, :last_status_at
|
||
|
|
||
|
def id
|
||
|
object.id.to_s
|
||
|
end
|
||
|
end
|