You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hydrus-api-rs/tests/common.rs

6 lines
178 B
Rust

use hydrus_api::client::Client;
use std::env;
pub fn get_client() -> Client {
Client::new(env::var("HYDRUS_URL").unwrap(), env::var("HYDRUS_ACCESS_KEY").unwrap()).unwrap()
}