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