debian-mirror-gitlab/app/serializers/merge_request_basic_entity.rb
2018-03-17 18:26:18 +05:30

8 lines
255 B
Ruby

class MergeRequestBasicEntity < IssuableSidebarEntity
expose :assignee_id
expose :merge_status
expose :merge_error
expose :state
expose :source_branch_exists?, as: :source_branch_exists
expose :rebase_in_progress?, as: :rebase_in_progress
end