use std::sync::Arc;
use crate::error::Result;
use crate::http::Config;
use crate::types::DeliverabilityReport;
#[derive(Clone)]
pub struct Deliverability(pub(crate) Arc<Config>);
impl Deliverability {
pub async fn get(&self) -> Result<DeliverabilityReport> {
self.0.get(&["deliverability"], &[]).await
}
}