2017-05-09 00:15:34 -04:00
|
|
|
class MergeRequestBasicEntity < Grape::Entity
|
2017-05-18 19:05:47 -04:00
|
|
|
expose :assignee_id
|
2017-05-09 00:15:34 -04:00
|
|
|
expose :merge_status
|
|
|
|
expose :merge_error
|
|
|
|
expose :state
|
|
|
|
expose :source_branch_exists?, as: :source_branch_exists
|
|
|
|
expose :time_estimate
|
|
|
|
expose :total_time_spent
|
|
|
|
expose :human_time_estimate
|
|
|
|
expose :human_total_time_spent
|
|
|
|
end
|