Module: JPSClient::API::NuGet

Included in:
Client
Defined in:
lib/jpsclient/api/nuget.rb

Overview

NuGet 相关 API 处理 NuGet 包管理服务相关接口

Instance Method Summary collapse

Instance Method Details

#get_nuget_service_indexHash

获取 NuGet v3 服务索引

Returns:

  • (Hash)

    NuGet 服务索引信息

Raises:



10
11
12
13
14
15
16
17
# File 'lib/jpsclient/api/nuget.rb', line 10

def get_nuget_service_index
  config = @request_config && @request_config["nuget_service_index"]
  raise JPSClient::ExceptionError, "Missing config for nuget_service_index" unless config && config["url"]

  path = config["url"]

  return request_with_auth(:get, path)
end