summaryrefslogtreecommitdiff
path: root/app/serializers/merge_request_basic_entity.rb
blob: 8461f158bb505bd36353d3c4011c367f76135f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
class MergeRequestBasicEntity < Grape::Entity
  expose :assignee_id
  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