示例#1
0
        /// <summary>
        ///  GitHub のAPIキーを更新<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator UpdateGitHubApiKey(
            Request.UpdateGitHubApiKeyRequest request,
            UnityAction <AsyncResult <Result.UpdateGitHubApiKeyResult> > callback
            )
        {
            var task = new UpdateGitHubApiKeyTask(request, callback);

            return(Gs2RestSession.Execute(task));
        }
示例#2
0
 public UpdateGitHubApiKeyTask(Request.UpdateGitHubApiKeyRequest request, UnityAction <AsyncResult <Result.UpdateGitHubApiKeyResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }