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