Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab_provider_repo_entity.rb « import « serializers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5fecd0a1cd38dc19e300fcd2062b6150c5e64a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

class Import::GitlabProviderRepoEntity < Import::BaseProviderRepoEntity
  expose :id, override: true do |repo|
    repo["id"]
  end

  expose :full_name, override: true do |repo|
    repo["path_with_namespace"]
  end

  expose :sanitized_name, override: true do |repo|
    repo["path"]
  end

  expose :provider_link, override: true do |repo|
    repo["web_url"]
  end
end