Class: Contentful::Management::WebhookCall
- Inherits:
-
Object
- Object
- Contentful::Management::WebhookCall
- Includes:
- Resource, Resource::Refresher, Resource::SystemProperties
- Defined in:
- lib/contentful/management/webhook_call.rb
Overview
Resource class for WebhookCall.
Instance Attribute Summary
Attributes included from Resource::SystemProperties
Attributes included from Resource
#client, #properties, #raw_object, #request
Class Method Summary collapse
-
.all(client, space_id, webhook_id) ⇒ Contentful::Management::Array<Contentful::Management::WebhookCall>
Gets all webhook call details for a webhook.
-
.create ⇒ Object
Not supported.
-
.find(client, space_id, webhook_id, call_id) ⇒ Contentful::Management::WebhookCall
Gets a webhook’s call details by ID.
Instance Method Summary collapse
-
#destroy ⇒ Object
Not supported.
-
#update ⇒ Object
Not supported.
Methods included from Resource::Refresher
Methods included from Resource
#array?, #default_locale, #environment_id, #fields, #nested_locale_fields?, #resource?, #save, #sys
Class Method Details
.all(client, space_id, webhook_id) ⇒ Contentful::Management::Array<Contentful::Management::WebhookCall>
Gets all webhook call details for a webhook.
30 31 32 |
# File 'lib/contentful/management/webhook_call.rb', line 30 def self.all(client, space_id, webhook_id) ClientWebhookCallMethodsFactory.new(client, space_id, webhook_id).all end |
.create ⇒ Object
Not supported
47 48 49 |
# File 'lib/contentful/management/webhook_call.rb', line 47 def self.create(*) fail 'Not supported' end |
.find(client, space_id, webhook_id, call_id) ⇒ Contentful::Management::WebhookCall
Gets a webhook’s call details by ID
42 43 44 |
# File 'lib/contentful/management/webhook_call.rb', line 42 def self.find(client, space_id, webhook_id, call_id) ClientWebhookCallMethodsFactory.new(client, space_id, webhook_id).find(call_id) end |
Instance Method Details
#destroy ⇒ Object
Not supported
69 70 71 |
# File 'lib/contentful/management/webhook_call.rb', line 69 def destroy fail 'Not supported' end |
#update ⇒ Object
Not supported
74 75 76 |
# File 'lib/contentful/management/webhook_call.rb', line 74 def update(*) fail 'Not supported' end |