gitlab-org--gitlab-foss/app/serializers/merge_request_basic_entity.rb
2017-05-09 04:15:34 +00:00

10 lines
284 B
Ruby

class MergeRequestBasicEntity < Grape::Entity
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