Class: PlatformAPI::AddonWebhookEvent
- Inherits:
-
Object
- Object
- PlatformAPI::AddonWebhookEvent
- Defined in:
- lib/platform-api/client.rb
Overview
Represents a webhook event that occurred.
Instance Method Summary collapse
- #info(addon_id_or_addon_name, app_webhook_event_id) ⇒ Object
-
#initialize(client) ⇒ AddonWebhookEvent
constructor
A new instance of AddonWebhookEvent.
- #list(addon_id_or_addon_name) ⇒ Object
Constructor Details
#initialize(client) ⇒ AddonWebhookEvent
Returns a new instance of AddonWebhookEvent.
1321 1322 1323 |
# File 'lib/platform-api/client.rb', line 1321 def initialize(client) @client = client end |
Instance Method Details
#info(addon_id_or_addon_name, app_webhook_event_id) ⇒ Object
1335 1336 1337 |
# File 'lib/platform-api/client.rb', line 1335 def info(addon_id_or_addon_name, app_webhook_event_id) @client.addon_webhook_event.info(addon_id_or_addon_name, app_webhook_event_id) end |
#list(addon_id_or_addon_name) ⇒ Object
1347 1348 1349 |
# File 'lib/platform-api/client.rb', line 1347 def list(addon_id_or_addon_name) @client.addon_webhook_event.list(addon_id_or_addon_name) end |