class Github::Repos::Hooks
def test(*args)
github.repos.hooks.test 'user-name', 'repo-name', 'hook-id'
github = Github.new
= Examples
This will trigger the hook with the latest push to the current repository.
Test a hook
def test(*args) arguments(args, :required => [:user, :repo, :id]) params = arguments.params post_request("/repos/#{user}/#{repo}/hooks/#{id}/test", params) end