docs/WebhookUpdateParameters.md in phrase-1.0.6 vs docs/WebhookUpdateParameters.md in phrase-1.0.7
- old
+ new
@@ -3,19 +3,21 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**callback_url** | **String** | Callback URL to send requests to | [optional]
+**secret** | **String** | Webhook secret used to calculate signature. If empty, the default project secret will be used. | [optional]
**description** | **String** | Webhook description | [optional]
**events** | **String** | List of event names to trigger the webhook (separated by comma) | [optional]
**active** | **Boolean** | Whether webhook is active or inactive | [optional]
## Code Sample
```ruby
require 'Phrase'
instance = Phrase::WebhookUpdateParameters.new(callback_url: http://example.com/hooks/phraseapp-notifications,
+ secret: secr3t,
description: My webhook for chat notifications,
events: locales:create,translations:update,
active: null)
```