Class: PlatformAPI::AppWebhookEvent

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

Overview

Represents a webhook event that occurred.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ AppWebhookEvent

Returns a new instance of AppWebhookEvent.



1803
1804
1805
# File 'lib/platform-api/client.rb', line 1803

def initialize(client)
  @client = client
end

Instance Method Details

#info(app_id_or_app_name, app_webhook_event_id) ⇒ Object



1817
1818
1819
# File 'lib/platform-api/client.rb', line 1817

def info(app_id_or_app_name, app_webhook_event_id)
  @client.app_webhook_event.info(app_id_or_app_name, app_webhook_event_id)
end

#list(app_id_or_app_name) ⇒ Object



1829
1830
1831
# File 'lib/platform-api/client.rb', line 1829

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