class PlatformAPI::AddonWebhookDelivery
Represents the delivery of a webhook notification, including its current status.
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 1029 def initialize(client) @client = client end
Public Instance Methods
info(addon_id_or_addon_name, app_webhook_delivery_id)
click to toggle source
Returns the info for an existing delivery. Can only be accessed by the add-on partner providing this add-on.
@param addon_id_or_addon_name: unique identifier of add-on or globally unique name of the add-on @param app_webhook_delivery_id: the delivery's unique identifier
# File lib/platform-api/client.rb, line 1037 def info(addon_id_or_addon_name, app_webhook_delivery_id) @client.addon_webhook_delivery.info(addon_id_or_addon_name, app_webhook_delivery_id) end
list(addon_id_or_addon_name)
click to toggle source
Lists existing deliveries for an add-on. Can only be accessed by the add-on partner providing this add-on.
@param addon_id_or_addon_name: unique identifier of add-on or globally unique name of the add-on
# File lib/platform-api/client.rb, line 1044 def list(addon_id_or_addon_name) @client.addon_webhook_delivery.list(addon_id_or_addon_name) end