debian-mirror-gitlab/app/serializers/merge_request_basic_entity.rb

9 lines
255 B
Ruby
Raw Normal View History

2018-03-17 18:26:18 +05:30
class MergeRequestBasicEntity < IssuableSidebarEntity
2017-08-17 22:00:37 +05:30
expose :assignee_id
expose :merge_status
expose :merge_error
expose :state
expose :source_branch_exists?, as: :source_branch_exists
2018-03-17 18:26:18 +05:30
expose :rebase_in_progress?, as: :rebase_in_progress
2017-08-17 22:00:37 +05:30
end