diff_viewer_entity.rb 231 Bytes
Newer Older
1 2 3 4
# frozen_string_literal: true

class DiffViewerEntity < Grape::Entity
  expose :partial_name, as: :name
5 6 7
  expose :render_error, as: :error
  expose :render_error_message, as: :error_message
  expose :collapsed?, as: :collapsed
8
end