< Summary

Information
Class: Services.ApiServices.ProfitLigaApi.ProfitLigaConfig
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/ProfitLigaApi/ProfitLigaConfig.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 10
Line coverage: 100%
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
get_BaseUrl()100%11100%
get_Secret()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/ProfitLigaApi/ProfitLigaConfig.cs

#LineLine coverage
 1namespace Services.ApiServices.ProfitLigaApi;
 2
 3/// <summary>Настройки подключения к API «Профит-Лига» (Ростовский офис).</summary>
 4public sealed class ProfitLigaConfig
 5{
 3866    public string BaseUrl { get; set; } = "https://api.pr-lg.ru";
 7
 8    /// <summary>API-ключ. Передаётся GET-параметром secret в каждом запросе, включая POST.</summary>
 5419    public string Secret { get; set; } = string.Empty;
 10}

Methods/Properties

get_BaseUrl()
get_Secret()