use crate::{ApiError, ClientConfig, HttpClient};

pub struct EntityClient {
    pub http_client: HttpClient,
}

impl EntityClient {
    pub fn new(config: ClientConfig) -> Result<Self, ApiError> {
        Ok(Self {
            http_client: HttpClient::new(config.clone())?,
        })
    }
}
