gitlab-org--gitlab-foss/app/serializers/diff_viewer_entity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
231 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class DiffViewerEntity < Grape::Entity
expose :partial_name, as: :name
expose :render_error, as: :error
expose :render_error_message, as: :error_message
expose :collapsed?, as: :collapsed
end