public SendRequestStatusToGetASmokeAlarmShould() { var settings = new GetASmokeAlarmApiSettings() { BaseAddress = "https://demo.getasmokealarm.org/", Token = "someToken" }; _getASmokeAlarmApiSettings = Options.Create(settings); }
public SendRequestStatusToGetASmokeAlarm(IOptions <GetASmokeAlarmApiSettings> getASmokeAlarmApiSettings, IHttpClient httpClient) { _getASmokeAlarmApiSettings = getASmokeAlarmApiSettings.Value; _httpClient = httpClient; }