public void ThenRetrieveLongitudeAndLatitudeFromLocation() { var location = Rest.GetLatandLong(); MyHooks.UpdateFile("City: " + location.city.ToString()); MyHooks.UpdateFile("Country Code: " + location.country.ToString()); MyHooks.UpdateFile("Latitude: " + location.latitude.ToString()); MyHooks.UpdateFile("Longitud: " + location.longtitude.ToString()); }
public void GivenTheResult(string res) { Rest.SetRequest(res); MyHooks.UpdateFile("Endpoint ping successfull"); }