(&self)
| 68 | |
| 69 | impl Config { |
| 70 | fn api_client(&self) -> api_client::ApiClient { |
| 71 | let proto = if self.api_use_https { |
| 72 | "https://" |
| 73 | } else { |
| 74 | "http" |
| 75 | }; |
| 76 | api_client::ApiClient::new(self.api_token.clone(), format!("{proto}{}", self.api_host)) |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | impl Default for Config { |
no outgoing calls
no test coverage detected