Esempio n. 1
0
            public async Task DeserializeUpdateInformations()
            {
                var stream = Helper.LoadFixture("webhook_deal_update.json");

                using (StreamReader reader = new StreamReader(stream, Encoding.UTF8))
                {
                    var fixture = await reader.ReadToEndAsync();

                    var webhookClient = new WebhooksClient();
                    var result        = webhookClient.ParseWebhookDealResponse(fixture);
                }
            }