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

12 lines
306 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
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