pub mod commits;
pub mod issues;
pub mod repos;
pub trait Api {
const BASE_URI: &'static str = "https://api.github.com";
const ACCEPT: &'static str;
fn api(&self) -> String;
}
pub trait ApiExt: Api {
const METHOD: Method;
fn payload_params(&self) -> Vec<(&'static str, String)>;
}
pub enum Method {
Delete,
Get,
Patch,
Post,
Put,
}