UNPKG

@broadcom/endevor-bridge-for-git-rest-api

Version:

Endevor Bridge for Git Rest client

11 lines (10 loc) 323 B
import { GlobalAction } from "../GlobalAction"; import { RequestMethod } from "../../AbstractRequest"; export class CreateGlobalWebhook extends GlobalAction { constructor(payload) { super(); this.customPath = "/webhook"; this.payload = payload; this.method = RequestMethod.POST; } }