class Contentful::Management::WebhookWebhookHealthMethodsFactory

Wrapper for webhook health information for a specific webhook. @private

Attributes

webhook[R]

Public Class Methods

new(webhook) click to toggle source

@private

# File lib/contentful/management/webhook_webhook_health_methods_factory.rb, line 11
def initialize(webhook)
  @webhook = webhook
end

Public Instance Methods

all(*) click to toggle source

Not supported

# File lib/contentful/management/webhook_webhook_health_methods_factory.rb, line 16
def all(*)
  fail 'Not supported'
end
find() click to toggle source

Gets a webhook call detail for a specific webhook by ID.

@return [Contentful::Management::WebhookCall]

# File lib/contentful/management/webhook_webhook_health_methods_factory.rb, line 23
def find
  WebhookHealth.find(webhook.client, webhook.space.id, webhook.id)
end