Class: PlatformAPI::AppWebhookDelivery

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

Returns a new instance of AppWebhookDelivery.



1768
1769
1770
# File 'lib/platform-api/client.rb', line 1768

def initialize(client)
  @client = client
end

Instance Method Details

#info(app_id_or_app_name, app_webhook_delivery_id) ⇒ Object



1782
1783
1784
# File 'lib/platform-api/client.rb', line 1782

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



1794
1795
1796
# File 'lib/platform-api/client.rb', line 1794

def list(app_id_or_app_name)
  @client.app_webhook_delivery.list(app_id_or_app_name)
end