debian-mirror-gitlab/lib/api/entities/project_repository_storage.rb
2021-09-04 02:52:04 +05:30

16 lines
325 B
Ruby

# frozen_string_literal: true
module API
module Entities
class ProjectRepositoryStorage < Grape::Entity
include Gitlab::Routing
expose :disk_path do |project|
project.repository.disk_path
end
expose :id, as: :project_id
expose :repository_storage, :created_at
end
end
end