use std::sync::Arc;
use crate::auth::DriveHubType;
#[derive(Clone)]
pub struct DriveClient {
hub: Arc<DriveHubType>,
}
impl DriveClient {
pub fn new(hub: DriveHubType) -> Self {
Self {
hub: Arc::new(hub),
}
}
pub fn hub(&self) -> &DriveHubType {
&self.hub
}
}