Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
# frozen_string_literal: true
class TopicPendingPostSerializer < ApplicationSerializer
attributes :id, :raw, :created_at
def raw
object.payload["raw"]
end
def include_raw?
object.payload && object.payload["raw"].present?