Method: NgrokAPI::Services::EventSourcesClient#delete
- Defined in:
- lib/ngrokapi/services/event_sources_client.rb
#delete(subscription_id: "", type: "") ⇒ NgrokAPI::Models::Empty
Remove a type for which this event subscription will trigger
66 67 68 69 70 71 72 73 |
# File 'lib/ngrokapi/services/event_sources_client.rb', line 66 def delete(subscription_id: "", type: "") path = '/event_subscriptions/%{subscription_id}/sources/%{type}' replacements = { subscription_id: subscription_id, type: type, } @client.delete(path % replacements) end |