Method: NgrokAPI::Services::EventSourcesClient#list
- Defined in:
- lib/ngrokapi/services/event_sources_client.rb
#list(subscription_id: "") ⇒ NgrokAPI::Models::EventSourceList
List the types for which this event subscription will trigger
139 140 141 142 143 144 145 146 147 |
# File 'lib/ngrokapi/services/event_sources_client.rb', line 139 def list(subscription_id: "") path = '/event_subscriptions/%{subscription_id}/sources' replacements = { subscription_id: subscription_id, } data = {} result = @client.get(path % replacements, data: data) NgrokAPI::Models::EventSourceList.new(client: self, attrs: result) end |