class Contentful::Management::WebhookWebhookCallMethodsFactory
Wrapper for webhook call detail manipulation for a specific webhook. @private
Attributes
Public Class Methods
Source
# File lib/contentful/management/webhook_webhook_call_methods_factory.rb, line 13 def initialize(webhook) @webhook = webhook end
@private
Public Instance Methods
Source
# File lib/contentful/management/webhook_webhook_call_methods_factory.rb, line 20 def all(_params = {}) WebhookCall.all(webhook.client, webhook.space.id, webhook.id) end
Gets all webhook call details for a specific webhook.
@return [Contentful::Management::Array<Contentful::Management::WebhookCall>]
Source
# File lib/contentful/management/webhook_webhook_call_methods_factory.rb, line 27 def find(call_id) WebhookCall.find(webhook.client, webhook.space.id, webhook.id, call_id) end
Gets a webhook call detail for a specific webhook by ID.
@return [Contentful::Management::WebhookCall]