mirror of https://github.com/tootsuite/mastodon
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
|