Sha256: 8bcbf0a09e815c57dc7c78e5a82958854e18c24ec3a8294768a359a471d14ac3
Contents?: true
Size: 672 Bytes
Versions: 2
Compression:
Stored size: 672 Bytes
Contents
# frozen_string_literal: true require_relative 'resource_requester' module Contentful module Management # Wrapper for webhook health information for a specific webhook. # @private class WebhookWebhookHealthMethodsFactory attr_reader :webhook # @private def initialize(webhook) @webhook = webhook end # Not supported def all(*) fail 'Not supported' end # Gets a webhook call detail for a specific webhook by ID. # # @return [Contentful::Management::WebhookCall] def find WebhookHealth.find(webhook.client, webhook.space.id, webhook.id) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems