pub fn init_client() -> Result<Box<dyn RestApiClient + Send + Sync>, RestClientError>Expand description
Instantiate an implementation of RestApiClient based on the environment.
This will fallback to an instance of LocalClient if
- the
GITHUB_ACTIONSenvironment variable is not set