public PactJsonRenderer(IPactDefinition pact) { if (pact == null) { throw new ArgumentNullException(nameof(pact)); } this.pact = pact; }
public async Task Put(IPactDefinition pact) { await PutPacts(pact, new PactJsonRenderer(pact).ToString()); }