gab-social/app/serializers/rest/status_bookmark_collection_serializer.rb

11 lines
169 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class REST::StatusBookmarkCollectionSerializer < ActiveModel::Serializer
attributes :id, :title
def id
object.id.to_s
end
end