Class: PlatformAPI::AddonWebhookDelivery

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

Represents the delivery of a webhook notification, including its current status.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ AddonWebhookDelivery

Returns a new instance of AddonWebhookDelivery.



1286
1287
1288
# File 'lib/platform-api/client.rb', line 1286

def initialize(client)
  @client = client
end

Instance Method Details

#info(addon_id_or_addon_name, app_webhook_delivery_id) ⇒ Object



1300
1301
1302
# File 'lib/platform-api/client.rb', line 1300

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) ⇒ Object



1312
1313
1314
# File 'lib/platform-api/client.rb', line 1312

def list(addon_id_or_addon_name)
  @client.addon_webhook_delivery.list(addon_id_or_addon_name)
end