コード例 #1
0
ファイル: PactMaker.cs プロジェクト: vip32/Pactify
 public IPactMaker PublishedViaHttp(string url, HttpMethod method, string apiKey = null)
 {
     _publisher = new HttpPactPublisher(url, method, apiKey);
     return(this);
 }
コード例 #2
0
ファイル: PactMaker.cs プロジェクト: vip32/Pactify
 public IPactMaker PublishedAsFile(string localPath)
 {
     _publisher = new FilePactPublisher(localPath);
     return(this);
 }