class Contentful::Management::ClientWebhookCallMethodsFactory

Wrapper for Webhook Call API for usage from within Client @private

Public Class Methods

new(client, space_id, webhook_id) click to toggle source
# File lib/contentful/management/client_webhook_call_methods_factory.rb, line 10
def initialize(client, space_id, webhook_id)
  super(client, space_id)
  @webhook_id = webhook_id
end

Public Instance Methods

all(_params = {}) click to toggle source
# File lib/contentful/management/client_webhook_call_methods_factory.rb, line 15
def all(_params = {})
  @resource_requester.find(
    space_id: @space_id,
    webhook_id: @webhook_id
  )
end
find(call_id) click to toggle source
# File lib/contentful/management/client_webhook_call_methods_factory.rb, line 22
def find(call_id)
  @resource_requester.find(
    space_id: @space_id,
    webhook_id: @webhook_id,
    call_id: call_id
  )
end
new(*) click to toggle source
# File lib/contentful/management/client_webhook_call_methods_factory.rb, line 30
def new(*)
  fail 'Not supported'
end