blob: daea209deb4a23fb57fd3af12631bc6c3ef96cdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class ProjectMirrorEntity < Grape::Entity
expose :id
expose :remote_mirrors_attributes, using: RemoteMirrorEntity do |project|
project.remote_mirrors
end
end
ProjectMirrorEntity.prepend_if_ee('::EE::ProjectMirrorEntity')
|