Class: PlatformAPI::AddonWebhookDelivery
- Inherits:
- 
      Object
      
        - Object
- PlatformAPI::AddonWebhookDelivery
 
- Defined in:
- lib/platform-api/client.rb
Overview
Represents the delivery of a webhook notification, including its current status.
Instance Method Summary collapse
- 
  
    
      #info(addon_id_or_addon_name, app_webhook_delivery_id)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Returns the info for an existing delivery. 
- 
  
    
      #initialize(client)  ⇒ AddonWebhookDelivery 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AddonWebhookDelivery. 
- 
  
    
      #list(addon_id_or_addon_name)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Lists existing deliveries for an add-on. 
Constructor Details
#initialize(client) ⇒ AddonWebhookDelivery
Returns a new instance of AddonWebhookDelivery.
| 1022 1023 1024 | # File 'lib/platform-api/client.rb', line 1022 def initialize(client) @client = client end | 
Instance Method Details
#info(addon_id_or_addon_name, app_webhook_delivery_id) ⇒ Object
Returns the info for an existing delivery. Can only be accessed by the add-on partner providing this add-on.
| 1030 1031 1032 | # File 'lib/platform-api/client.rb', line 1030 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
Lists existing deliveries for an add-on. Can only be accessed by the add-on partner providing this add-on.
| 1037 1038 1039 | # File 'lib/platform-api/client.rb', line 1037 def list(addon_id_or_addon_name) @client.addon_webhook_delivery.list(addon_id_or_addon_name) end |