pub trait GitHubApi {
// Required methods
fn app_slug(&self) -> String;
fn create_issue_comment(
&self,
owner: &str,
repo: &str,
issue_id: i64,
body: &str,
) -> Result<(), GithubError>;
fn list_issue_comments(
&self,
owner: &str,
repo: &str,
issue_id: i64,
) -> Result<Vec<Comment>, GithubError>;
fn update_issue_comment(
&self,
owner: &str,
repo: &str,
comment_id: i64,
body: &str,
) -> Result<(), GithubError>;
}