use super::super::models::BuildArtifact;
use super::super::BuildsClient;
use crate::constants::ApiPath;
use crate::error::Result;
impl BuildsClient<'_> {
pub async fn get_artifact(&self, project: &str, id: i64, name: &str) -> Result<BuildArtifact> {
self.http
.get(&ApiPath::build_artifact(project, id, name), &[])
.await
}
}