This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
|
# frozen_string_literal: true
|
|
|
|
class REST::FilterSerializer < ActiveModel::Serializer
|
|
attributes :id, :phrase, :context, :whole_word, :expires_at,
|
|
:irreversible
|
|
|
|
def id
|
|
object.id.to_s
|
|
end
|
|
end
|