mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-21 10:05:39 +09:00
14 lines
209 B
Ruby
14 lines
209 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class REST::FilterStatusSerializer < ActiveModel::Serializer
|
||
|
attributes :id, :status_id
|
||
|
|
||
|
def id
|
||
|
object.id.to_s
|
||
|
end
|
||
|
|
||
|
def status_id
|
||
|
object.status_id.to_s
|
||
|
end
|
||
|
end
|