debian-mirror-gitlab/app/serializers/integrations/project_entity.rb
2022-08-27 11:52:29 +05:30

16 lines
280 B
Ruby

# frozen_string_literal: true
module Integrations
class ProjectEntity < Grape::Entity
include RequestAwareEntity
expose :id
expose :avatar_url
expose :full_name
expose :name
expose :full_path do |project|
project_path(project)
end
end
end