View definition

(*RepositoriesService).CreateHook

Defined in github.com/google/go-github/github/repos_hooks.go

Description

CreateHook creates a Hook for the specified repository. Name and Config are required fields.

GitHub API docs: http://developer.github.com/v3/repos/hooks/#create-a-hook