automatons-github 0.3.0

GitHub integration for the automatons framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::client::{GitHubClient, PrivateKey};
use crate::resource::{AppId, InstallationId};

pub fn github_client() -> GitHubClient {
    GitHubClient::new(
        mockito::server_url().into(),
        AppId::new(1),
        PrivateKey::new(include_str!("../../tests/fixtures/private-key.pem")),
        InstallationId::new(1),
    )
}