debian-mirror-gitlab/app/serializers/integrations/project_entity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
265 B
Ruby
Raw Normal View History

2021-10-27 15:23:28 +05:30
# frozen_string_literal: true
module Integrations
class ProjectEntity < Grape::Entity
include RequestAwareEntity
expose :avatar_url
expose :full_name
expose :name
expose :full_path do |project|
project_path(project)
end
end
end