summaryrefslogtreecommitdiff
path: root/lib/api/entities/public_group_details.rb
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