class Github::Client::Orgs::Hooks

def create(*args)

Other tags:
    Api: - public

Parameters:
  • params (Hash) --

Other tags:
    See: https://developer.github.com/v3/orgs/hooks/#create-a-hook -
def create(*args)
  arguments(args, required: [:org_name]) do
    assert_required REQUIRED_PARAMS
  end
  post_request("/orgs/#{arguments.org_name}/hooks", arguments.params)
end