class Github::Repos::Hooks

def list(*args)


github.repos.hooks.list 'user-name', 'repo-name' { |hook| ... }
github.repos.hooks.list 'user-name', 'repo-name'
github = Github.new
= Examples

List repository hooks
def list(*args)
  arguments(args, :required => [:user, :repo])
  response = get_request("/repos/#{user}/#{repo}/hooks", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end