Class: Composio::EventLogsApi
- Inherits:
-
Object
- Object
- Composio::EventLogsApi
- Defined in:
- lib/composio/api/event_logs_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#initialize(api_client = ApiClient.default) ⇒ EventLogsApi
constructor
A new instance of EventLogsApi.
-
#update_webhook(event_webhook_url:, extra: {}) ⇒ Object
Update webhook.
-
#update_webhook_with_http_info(event_webhook_url:, extra: {}) ⇒ Object
Update webhook.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ EventLogsApi
Returns a new instance of EventLogsApi.
15 16 17 |
# File 'lib/composio/api/event_logs_api.rb', line 15 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
13 14 15 |
# File 'lib/composio/api/event_logs_api.rb', line 13 def api_client @api_client end |
Instance Method Details
#update_webhook(event_webhook_url:, extra: {}) ⇒ Object
Update webhook
24 25 26 27 28 29 30 |
# File 'lib/composio/api/event_logs_api.rb', line 24 def update_webhook(event_webhook_url:, extra: {}) _body = {} _body[:eventWebhookURL] = event_webhook_url if event_webhook_url != SENTINEL extra[:webhook_req_dto] = _body if !_body.empty? api_response = update_webhook_with_http_info_impl(extra) api_response.data end |
#update_webhook_with_http_info(event_webhook_url:, extra: {}) ⇒ Object
Update webhook
37 38 39 40 41 42 |
# File 'lib/composio/api/event_logs_api.rb', line 37 def update_webhook_with_http_info(event_webhook_url:, extra: {}) _body = {} _body[:eventWebhookURL] = event_webhook_url if event_webhook_url != SENTINEL extra[:webhook_req_dto] = _body if !_body.empty? update_webhook_with_http_info_impl(extra) end |