예제 #1
0
파일: SdkUser.cs 프로젝트: aluitink/Ojibwe
 /// <summary>
 /// Creates the specified instance.
 /// </summary>
 /// <param name="instance">The instance.</param>
 /// <param name="userId">The user identifier.</param>
 /// <returns></returns>
 internal static SdkUser Create(IOjibweApi instance, Guid userId)
 {
     return instance.Execute<SdkUser>(null, HttpMethod.Get, "users/{id}", "id", userId.ToString());
 }
예제 #2
0
 /// <summary>
 /// Creates the specified instance.
 /// </summary>
 /// <param name="instance">The instance.</param>
 /// <param name="transferId">The transfer identifier.</param>
 /// <returns></returns>
 internal SdkTransfer Create(IOjibweApi instance, Guid transferId)
 {
     return instance.Execute<SdkTransfer>(null, HttpMethod.Get, "transfers/{id}", "id", transferId.ToString());
 }
예제 #3
0
파일: SdkKey.cs 프로젝트: aluitink/Ojibwe
 /// <summary>
 /// Creates the specified instance.
 /// </summary>
 /// <param name="instance">The instance.</param>
 /// <param name="keyId">The key identifier.</param>
 /// <returns></returns>
 internal static SdkKey Create(IOjibweApi instance, Guid keyId)
 {
     return instance.Execute<SdkKey>(null, HttpMethod.Get, "keys/{id}", "id", keyId.ToString());
 }