< Summary - Syki

Information
Class: Syki.Front.Features.Academic.ReprocessWebhookCall.ReprocessWebhookCallClient
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Academic/ReprocessWebhookCall/ReprocessWebhookCallClient.cs
Tag: 4_16869239191
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 11
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%210%
Reprocess()100%210%

File(s)

/home/runner/work/syki/syki/Front/Features/Academic/ReprocessWebhookCall/ReprocessWebhookCallClient.cs

#LineLine coverage
 1namespace Syki.Front.Features.Academic.ReprocessWebhookCall;
 2
 03public class ReprocessWebhookCallClient(HttpClient http) : IAcademicClient
 4{
 5    public async Task<OneOf<SuccessOut, ErrorOut>> Reprocess(Guid id)
 6    {
 07        var response = await http.PostAsJsonAsync($"/academic/webhooks/calls/{id}/reprocess", new {});
 8
 09        return await response.Resolve<SuccessOut>();
 010    }
 11}