public StatusApi(Endpoints endpoints, IApiClient apiClient) { this.endpoints = endpoints.Status; this.apiClient = apiClient; }
public TheGetMethod() { var endpoints = new StatusEndpoints(ApiUrls.ForEnvironment(ApiEnvironment.Staging)); statusApi = new StatusApi(endpoints, apiClient); }