gitlab-org--gitlab-foss/app/serializers/diff_viewer_entity.rb
Natalia Tepluhina bf8f32da7f Replaced part of diff file properties with diff viewer
- replaced file.too_large
- replaced file.text
- replaced file.collapsed
2019-02-15 17:56:50 +00:00

8 lines
231 B
Ruby

# 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