class PlatformAPI::AppWebhookDelivery
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 1330 def initialize(client) @client = client end
Public Instance Methods
info(app_id_or_app_name, app_webhook_delivery_id)
click to toggle source
Returns the info for an existing delivery.
@param app_id_or_app_name: unique identifier of app or unique name of app @param app_webhook_delivery_id: the delivery's unique identifier
# File lib/platform-api/client.rb, line 1338 def info(app_id_or_app_name, app_webhook_delivery_id) @client.app_webhook_delivery.info(app_id_or_app_name, app_webhook_delivery_id) end
list(app_id_or_app_name)
click to toggle source
Lists existing deliveries for an app.
@param app_id_or_app_name: unique identifier of app or unique name of app
# File lib/platform-api/client.rb, line 1345 def list(app_id_or_app_name) @client.app_webhook_delivery.list(app_id_or_app_name) end