コード例 #1
0
ファイル: ImageAsset.cs プロジェクト: gobucket/gobucketcsharp
		public ImageAsset(Server server, Client client) {
			this.server = server;
			this.client = client;
		}
コード例 #2
0
		public GoBucketRestClient(Server server, string secretKey, string appKey) {
			this.Signer = new Signing(secretKey, appKey);
			this.Server = server;
			this.SecretKey = secretKey;
			this.AppKey = appKey;
		}
コード例 #3
0
ファイル: Client.cs プロジェクト: gobucket/gobucketcsharp
		public Client(Server server, string id, string clientCode, string secretKey, string appKey) :
				base(server, secretKey, appKey) {
			this.ID = id;
			this.ClientCode = clientCode;
		}
コード例 #4
0
		/// <summary>
		/// Builds a full URL by combining the server URL from your configurations and a provided
		/// endpoint
		/// </summary>
		/// <param name="configuration">Configuration data</param>
		/// <param name="endpoint">Endpoint. Such as /asset</param>
		public static string BuildURL(Server server, string endpoint) {
			return String.Format("{0}{1}", server.ServerAddress, endpoint);
		}