2018-10-05 18:36:20 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class DiffViewerEntity < Grape::Entity
|
|
|
|
expose :partial_name, as: :name
|
2019-02-15 12:56:50 -05:00
|
|
|
expose :render_error, as: :error
|
|
|
|
expose :render_error_message, as: :error_message
|
|
|
|
expose :collapsed?, as: :collapsed
|
2018-10-05 18:36:20 -04:00
|
|
|
end
|