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

public_group_details.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0dfe28d251a3f3a5ed9a2a8a8cb02a6348f59e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module API
  module Entities
    class PublicGroupDetails < BasicGroupDetails
      expose :avatar_url do |group, options|
        group.avatar_url(only_path: false)
      end
      expose :full_name, :full_path
    end
  end
end