pingHook method
Pings the organization hook.
API docs: https://developer.github.com/v3/orgs/hooks/#ping-a-hook
Implementation
Future<bool> pingHook(String org, int id) {
return github
.request('POST', '/orgs/$org/hooks/$id/pings')
.then((response) => response.statusCode == 204);
}