2018-07-19 14:43:13 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-11-17 07:22:27 -05:00
|
|
|
class AnalyticsMergeRequestEntity < AnalyticsIssueEntity
|
|
|
|
expose :state
|
|
|
|
|
|
|
|
expose :url do |object|
|
|
|
|
url_to(:namespace_project_merge_request, id: object[:iid].to_s)
|
|
|
|
end
|
|
|
|
end
|