Sha256: 36bd37abbfcd29b8953f1ec055933daf7fa392f87aeb4f61acad3d5cc5e81b72

Contents?: true

Size: 588 Bytes

Versions: 33

Compression:

Stored size: 588 Bytes

Contents

require_relative 'client_association_methods_factory'

module Contentful
  module Management
    # Wrapper for Webhook Health API for usage from within Client
    # @private
    class ClientWebhookHealthMethodsFactory
      include Contentful::Management::ClientAssociationMethodsFactory

      # Not supported
      def all(*)
        fail 'Not supported'
      end

      def find(webhook_id)
        @resource_requester.find(
          space_id: @space_id,
          webhook_id: webhook_id
        )
      end

      def new(*)
        fail 'Not supported'
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
contentful-management-3.8.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-3.7.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-3.6.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-3.5.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-3.4.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-3.3.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-3.2.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-3.1.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-3.0.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.13.1 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.13.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.12.1 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.12.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.11.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.10.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.9.1 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.9.0 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.8.2 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.8.1 lib/contentful/management/client_webhook_health_methods_factory.rb
contentful-management-2.8.0 lib/contentful/management/client_webhook_health_methods_factory.rb