2017-10-31 12:15:03 -04:00
|
|
|
class MergeRequestBasicEntity < IssuableSidebarEntity
|
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
|
2017-12-20 04:01:21 -05:00
|
|
|
expose :rebase_in_progress?, as: :rebase_in_progress
|
2018-06-14 15:39:17 -04:00
|
|
|
expose :milestone, using: API::Entities::Milestone
|
|
|
|
expose :labels, using: LabelEntity
|
|
|
|
expose :assignee, using: API::Entities::UserBasic
|
|
|
|
expose :task_status, :task_status_short
|
2017-05-09 00:15:34 -04:00
|
|
|
end
|