blob: f83d555772b22d333d100effb7ef5ef012629a05 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: true
class REST::FilterSerializer < ActiveModel::Serializer
attributes :id, :phrase, :context, :whole_word, :expires_at,
:irreversible, :exclude_media, :media_only
def id
object.id.to_s
end
end
|