WebhookProxyExtension
trait WebhookProxyExtension
WebhookProxyExtension trait.
This trait is an extension to the Webhook resource class. It is built here and included as a trait to better separate concerns. This trait provides shortcuts for fetching resources that belong to a webhook.
Properties
Client | $client |
Methods
string
getSpaceId()
Returns the ID associated to the current space.
string
getWebhookId()
Returns the ID associated to the current webhook.
getCall(string $callId)
Returns a WebhookCall resource.
getHealth()
Returns an WebhookHealth resource.
Details
at line 36
abstract protected string
getSpaceId()
Returns the ID associated to the current space.
at line 43
abstract protected string
getWebhookId()
Returns the ID associated to the current webhook.
at line 50
getCall(string $callId)
Returns a WebhookCall resource.
at line 64
getCalls(Query $query = null)
Returns a ResourceArray object containing WebhookCall resources.
at line 78
getHealth()
Returns an WebhookHealth resource.