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.
28 29 30 |
# File 'lib/contentful/management/webhook_call.rb', line 28 def self.all(client, space_id, webhook_id) ClientWebhookCallMethodsFactory.new(client, space_id, webhook_id).all end |
.create ⇒ Object
Not supported
45 46 47 |
# File 'lib/contentful/management/webhook_call.rb', line 45 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
40 41 42 |
# File 'lib/contentful/management/webhook_call.rb', line 40 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
67 68 69 |
# File 'lib/contentful/management/webhook_call.rb', line 67 def destroy fail 'Not supported' end |
#update ⇒ Object
Not supported
72 73 74 |
# File 'lib/contentful/management/webhook_call.rb', line 72 def update(*) fail 'Not supported' end |