Method: Unit::Webhook::PatchWebhookRequest#initialize
- Defined in:
- lib/unit/models/webhook/patch_webhook_request.rb
#initialize(webhook_id, label, url, content_type, token, include_resources = nil, subscription_type = nil) ⇒ PatchWebhookRequest
Returns a new instance of PatchWebhookRequest.
17 18 19 20 21 22 23 24 25 26 |
# File 'lib/unit/models/webhook/patch_webhook_request.rb', line 17 def initialize(webhook_id, label, url, content_type, token, include_resources = nil, subscription_type = nil) @webhook_id = webhook_id @label = label @url = url @token = token @content_type = content_type @include_resources = include_resources @subscription_type = subscription_type end |