blob: 215f659caba39b583409d2619e45a18f30c2fa2d (
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_mod_with('ProjectMirrorEntity')
|