ngrok-api 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/doc/NgrokAPI/Client.html +140 -172
- data/doc/NgrokAPI/Error.html +3 -3
- data/doc/NgrokAPI/Errors/NotFoundError.html +3 -3
- data/doc/NgrokAPI/Errors.html +3 -3
- data/doc/NgrokAPI/HttpClient.html +30 -36
- data/doc/NgrokAPI/Models/APIKey.html +3 -3
- data/doc/NgrokAPI/Models/AWSAuth.html +3 -3
- data/doc/NgrokAPI/Models/AWSCredentials.html +3 -3
- data/doc/NgrokAPI/Models/AWSRole.html +3 -3
- data/doc/NgrokAPI/Models/AbuseReport.html +3 -3
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +3 -3
- data/doc/NgrokAPI/Models/{IPWhitelistEntry.html → AgentIngress.html} +216 -68
- data/doc/NgrokAPI/Models/CertificateAuthority.html +3 -3
- data/doc/NgrokAPI/Models/Credential.html +3 -3
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
- data/doc/NgrokAPI/Models/EndpointCompression.html +3 -3
- data/doc/NgrokAPI/Models/EndpointConfiguration.html +3 -3
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointLogging.html +3 -3
- data/doc/NgrokAPI/Models/EndpointLoggingMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuth.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
- data/doc/NgrokAPI/Models/EndpointOIDC.html +3 -3
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
- data/doc/NgrokAPI/Models/EndpointSAML.html +3 -3
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +3 -3
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
- data/doc/NgrokAPI/Models/EventDestination.html +3 -3
- data/doc/NgrokAPI/Models/EventSource.html +3 -3
- data/doc/NgrokAPI/Models/EventSourceList.html +3 -3
- data/doc/NgrokAPI/Models/EventSourceReplace.html +3 -3
- data/doc/NgrokAPI/Models/EventStream.html +3 -3
- data/doc/NgrokAPI/Models/EventSubscription.html +3 -3
- data/doc/NgrokAPI/Models/EventTarget.html +3 -3
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +3 -3
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +3 -3
- data/doc/NgrokAPI/Models/IPPolicy.html +3 -3
- data/doc/NgrokAPI/Models/IPPolicyRule.html +3 -3
- data/doc/NgrokAPI/Models/IPRestriction.html +3 -3
- data/doc/NgrokAPI/Models/Listable.html +3 -3
- data/doc/NgrokAPI/Models/Ref.html +3 -3
- data/doc/NgrokAPI/Models/ReservedAddr.html +3 -3
- data/doc/NgrokAPI/Models/ReservedDomain.html +3 -3
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
- data/doc/NgrokAPI/Models/SSHCredential.html +3 -3
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +3 -3
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +3 -3
- data/doc/NgrokAPI/Models/TLSCertificate.html +3 -3
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
- data/doc/NgrokAPI/Models/Tunnel.html +3 -3
- data/doc/NgrokAPI/Models/TunnelSession.html +3 -3
- data/doc/NgrokAPI/Models.html +5 -5
- data/doc/NgrokAPI/PagedIterator.html +3 -3
- data/doc/NgrokAPI/Services/APIKeysClient.html +99 -149
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +19 -33
- data/doc/NgrokAPI/Services/{IPWhitelistClient.html → AgentIngressesClient.html} +209 -265
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +104 -156
- data/doc/NgrokAPI/Services/CredentialsClient.html +108 -164
- data/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +137 -273
- data/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +49 -77
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +116 -184
- data/doc/NgrokAPI/Services/EventSourcesClient.html +95 -157
- data/doc/NgrokAPI/Services/EventStreamsClient.html +119 -189
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +113 -175
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +104 -156
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +111 -169
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +116 -180
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +132 -198
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +193 -303
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +110 -166
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +111 -169
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +111 -171
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +111 -175
- data/doc/NgrokAPI/Services/TLSCertificatesClient.html +107 -161
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +87 -135
- data/doc/NgrokAPI/Services/TunnelsClient.html +13 -25
- data/doc/NgrokAPI/Services.html +5 -5
- data/doc/NgrokAPI.html +4 -4
- data/doc/_index.html +18 -18
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +3 -3
- data/doc/frames.html +1 -1
- data/doc/index.html +3 -3
- data/doc/method_list.html +574 -558
- data/doc/top-level-namespace.html +3 -3
- data/docs/NgrokAPI/Client.html +140 -172
- data/docs/NgrokAPI/Error.html +3 -3
- data/docs/NgrokAPI/Errors/NotFoundError.html +3 -3
- data/docs/NgrokAPI/Errors.html +3 -3
- data/docs/NgrokAPI/HttpClient.html +30 -36
- data/docs/NgrokAPI/Models/APIKey.html +3 -3
- data/docs/NgrokAPI/Models/AWSAuth.html +3 -3
- data/docs/NgrokAPI/Models/AWSCredentials.html +3 -3
- data/docs/NgrokAPI/Models/AWSRole.html +3 -3
- data/docs/NgrokAPI/Models/AbuseReport.html +3 -3
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +3 -3
- data/docs/NgrokAPI/Models/{IPWhitelistEntry.html → AgentIngress.html} +216 -68
- data/docs/NgrokAPI/Models/CertificateAuthority.html +3 -3
- data/docs/NgrokAPI/Models/Credential.html +3 -3
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
- data/docs/NgrokAPI/Models/EndpointCompression.html +3 -3
- data/docs/NgrokAPI/Models/EndpointConfiguration.html +3 -3
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointLogging.html +3 -3
- data/docs/NgrokAPI/Models/EndpointLoggingMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuth.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
- data/docs/NgrokAPI/Models/EndpointOIDC.html +3 -3
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
- data/docs/NgrokAPI/Models/EndpointSAML.html +3 -3
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +3 -3
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
- data/docs/NgrokAPI/Models/EventDestination.html +3 -3
- data/docs/NgrokAPI/Models/EventSource.html +3 -3
- data/docs/NgrokAPI/Models/EventSourceList.html +3 -3
- data/docs/NgrokAPI/Models/EventSourceReplace.html +3 -3
- data/docs/NgrokAPI/Models/EventStream.html +3 -3
- data/docs/NgrokAPI/Models/EventSubscription.html +3 -3
- data/docs/NgrokAPI/Models/EventTarget.html +3 -3
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +3 -3
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +3 -3
- data/docs/NgrokAPI/Models/IPPolicy.html +3 -3
- data/docs/NgrokAPI/Models/IPPolicyRule.html +3 -3
- data/docs/NgrokAPI/Models/IPRestriction.html +3 -3
- data/docs/NgrokAPI/Models/Listable.html +3 -3
- data/docs/NgrokAPI/Models/Ref.html +3 -3
- data/docs/NgrokAPI/Models/ReservedAddr.html +3 -3
- data/docs/NgrokAPI/Models/ReservedDomain.html +3 -3
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
- data/docs/NgrokAPI/Models/SSHCredential.html +3 -3
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +3 -3
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +3 -3
- data/docs/NgrokAPI/Models/TLSCertificate.html +3 -3
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
- data/docs/NgrokAPI/Models/Tunnel.html +3 -3
- data/docs/NgrokAPI/Models/TunnelSession.html +3 -3
- data/docs/NgrokAPI/Models.html +5 -5
- data/docs/NgrokAPI/PagedIterator.html +3 -3
- data/docs/NgrokAPI/Services/APIKeysClient.html +99 -149
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +19 -33
- data/docs/NgrokAPI/Services/{IPWhitelistClient.html → AgentIngressesClient.html} +209 -265
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +104 -156
- data/docs/NgrokAPI/Services/CredentialsClient.html +108 -164
- data/docs/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointCompressionModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointConfigurationsClient.html +137 -273
- data/docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointLoggingModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointOAuthModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointOIDCModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointSAMLModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +49 -77
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +116 -184
- data/docs/NgrokAPI/Services/EventSourcesClient.html +95 -157
- data/docs/NgrokAPI/Services/EventStreamsClient.html +119 -189
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +113 -175
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +104 -156
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +111 -169
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +116 -180
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +132 -198
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +193 -303
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +110 -166
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +111 -169
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +111 -171
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +111 -175
- data/docs/NgrokAPI/Services/TLSCertificatesClient.html +107 -161
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +87 -135
- data/docs/NgrokAPI/Services/TunnelsClient.html +13 -25
- data/docs/NgrokAPI/Services.html +5 -5
- data/docs/NgrokAPI.html +4 -4
- data/docs/_index.html +18 -18
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +3 -3
- data/docs/frames.html +1 -1
- data/docs/index.html +3 -3
- data/docs/method_list.html +574 -558
- data/docs/top-level-namespace.html +3 -3
- data/lib/ngrokapi/client.rb +5 -13
- data/lib/ngrokapi/http_client.rb +1 -4
- data/lib/ngrokapi/models/{ip_whitelist_entry.rb → agent_ingress.rb} +13 -9
- data/lib/ngrokapi/services/abuse_reports_client.rb +3 -10
- data/lib/ngrokapi/services/{ip_whitelist_client.rb → agent_ingresses_client.rb} +65 -94
- data/lib/ngrokapi/services/api_keys_client.rb +11 -36
- data/lib/ngrokapi/services/certificate_authorities_client.rb +11 -37
- data/lib/ngrokapi/services/credentials_client.rb +11 -39
- data/lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_compression_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_configurations_client.rb +11 -79
- data/lib/ngrokapi/services/endpoint_ip_policy_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_logging_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_o_auth_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_oidc_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_request_headers_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_response_headers_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_saml_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_tls_termination_module_client.rb +6 -20
- data/lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +6 -20
- data/lib/ngrokapi/services/event_destinations_client.rb +11 -45
- data/lib/ngrokapi/services/event_sources_client.rb +9 -40
- data/lib/ngrokapi/services/event_streams_client.rb +11 -46
- data/lib/ngrokapi/services/event_subscriptions_client.rb +11 -42
- data/lib/ngrokapi/services/ip_policies_client.rb +11 -37
- data/lib/ngrokapi/services/ip_policy_rules_client.rb +11 -40
- data/lib/ngrokapi/services/ip_restrictions_client.rb +11 -43
- data/lib/ngrokapi/services/reserved_addrs_client.rb +13 -46
- data/lib/ngrokapi/services/reserved_domains_client.rb +19 -74
- data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +11 -39
- data/lib/ngrokapi/services/ssh_credentials_client.rb +11 -40
- data/lib/ngrokapi/services/ssh_host_certificates_client.rb +11 -41
- data/lib/ngrokapi/services/ssh_user_certificates_client.rb +11 -43
- data/lib/ngrokapi/services/tls_certificates_client.rb +11 -38
- data/lib/ngrokapi/services/tunnel_sessions_client.rb +12 -36
- data/lib/ngrokapi/services/tunnels_client.rb +4 -10
- data/lib/ngrokapi/version.rb +1 -1
- data/lib/ngrokapi.rb +1 -1
- data/ngrok-api.gemspec +1 -1
- data/spec/ngrokapi/client_spec.rb +6 -6
- data/spec/ngrokapi/models/agent_ingress_spec.rb +42 -0
- data/spec/ngrokapi/services/{ip_whitelist_client_spec.rb → agent_ingresses_client_spec.rb} +49 -49
- data/spec/spec_helper.rb +1096 -1045
- metadata +10 -10
- data/spec/ngrokapi/models/ip_whitelist_entry_spec.rb +0 -42
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointOIDC] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-oidc-module-replace
|
23
|
-
def replace(
|
24
|
-
id: "",
|
25
|
-
a_module: nil
|
26
|
-
)
|
23
|
+
def replace(id: "", a_module: nil)
|
27
24
|
path = '/endpoint_configurations/%{id}/oidc'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointOIDC] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-oidc-module-replace
|
43
|
-
def replace!(
|
44
|
-
id: "",
|
45
|
-
a_module: nil
|
46
|
-
)
|
40
|
+
def replace!(id: "", a_module: nil)
|
47
41
|
path = '/endpoint_configurations/%{id}/oidc'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointOIDC] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-oidc-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/oidc'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointOIDC] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-oidc-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/oidc'
|
83
73
|
replacements = {
|
84
74
|
id: id,
|
@@ -93,9 +83,7 @@ module NgrokAPI
|
|
93
83
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
94
84
|
#
|
95
85
|
# https://ngrok.com/docs/api#api-endpoint-oidc-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/oidc'
|
100
88
|
replacements = {
|
101
89
|
id: id,
|
@@ -108,9 +96,7 @@ module NgrokAPI
|
|
108
96
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
109
97
|
#
|
110
98
|
# https://ngrok.com/docs/api#api-endpoint-oidc-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/oidc'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointRequestHeaders] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-request-headers-module-replace
|
23
|
-
def replace(
|
24
|
-
id: "",
|
25
|
-
a_module: nil
|
26
|
-
)
|
23
|
+
def replace(id: "", a_module: nil)
|
27
24
|
path = '/endpoint_configurations/%{id}/request_headers'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointRequestHeaders] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-request-headers-module-replace
|
43
|
-
def replace!(
|
44
|
-
id: "",
|
45
|
-
a_module: nil
|
46
|
-
)
|
40
|
+
def replace!(id: "", a_module: nil)
|
47
41
|
path = '/endpoint_configurations/%{id}/request_headers'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointRequestHeaders] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-request-headers-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/request_headers'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointRequestHeaders] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-request-headers-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/request_headers'
|
83
73
|
replacements = {
|
84
74
|
id: id,
|
@@ -93,9 +83,7 @@ module NgrokAPI
|
|
93
83
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
94
84
|
#
|
95
85
|
# https://ngrok.com/docs/api#api-endpoint-request-headers-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/request_headers'
|
100
88
|
replacements = {
|
101
89
|
id: id,
|
@@ -108,9 +96,7 @@ module NgrokAPI
|
|
108
96
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
109
97
|
#
|
110
98
|
# https://ngrok.com/docs/api#api-endpoint-request-headers-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/request_headers'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointResponseHeaders] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-response-headers-module-replace
|
23
|
-
def replace(
|
24
|
-
id: "",
|
25
|
-
a_module: nil
|
26
|
-
)
|
23
|
+
def replace(id: "", a_module: nil)
|
27
24
|
path = '/endpoint_configurations/%{id}/response_headers'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointResponseHeaders] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-response-headers-module-replace
|
43
|
-
def replace!(
|
44
|
-
id: "",
|
45
|
-
a_module: nil
|
46
|
-
)
|
40
|
+
def replace!(id: "", a_module: nil)
|
47
41
|
path = '/endpoint_configurations/%{id}/response_headers'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointResponseHeaders] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-response-headers-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/response_headers'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointResponseHeaders] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-response-headers-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/response_headers'
|
83
73
|
replacements = {
|
84
74
|
id: id,
|
@@ -93,9 +83,7 @@ module NgrokAPI
|
|
93
83
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
94
84
|
#
|
95
85
|
# https://ngrok.com/docs/api#api-endpoint-response-headers-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/response_headers'
|
100
88
|
replacements = {
|
101
89
|
id: id,
|
@@ -108,9 +96,7 @@ module NgrokAPI
|
|
108
96
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
109
97
|
#
|
110
98
|
# https://ngrok.com/docs/api#api-endpoint-response-headers-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/response_headers'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointSAML] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-saml-module-replace
|
23
|
-
def replace(
|
24
|
-
id: "",
|
25
|
-
a_module: nil
|
26
|
-
)
|
23
|
+
def replace(id: "", a_module: nil)
|
27
24
|
path = '/endpoint_configurations/%{id}/saml'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointSAML] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-saml-module-replace
|
43
|
-
def replace!(
|
44
|
-
id: "",
|
45
|
-
a_module: nil
|
46
|
-
)
|
40
|
+
def replace!(id: "", a_module: nil)
|
47
41
|
path = '/endpoint_configurations/%{id}/saml'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointSAML] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-saml-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/saml'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointSAML] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-saml-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/saml'
|
83
73
|
replacements = {
|
84
74
|
id: id,
|
@@ -93,9 +83,7 @@ module NgrokAPI
|
|
93
83
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
94
84
|
#
|
95
85
|
# https://ngrok.com/docs/api#api-endpoint-saml-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/saml'
|
100
88
|
replacements = {
|
101
89
|
id: id,
|
@@ -108,9 +96,7 @@ module NgrokAPI
|
|
108
96
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
109
97
|
#
|
110
98
|
# https://ngrok.com/docs/api#api-endpoint-saml-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/saml'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointTLSTermination] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-tls-termination-module-replace
|
23
|
-
def replace(
|
24
|
-
id: "",
|
25
|
-
a_module: nil
|
26
|
-
)
|
23
|
+
def replace(id: "", a_module: nil)
|
27
24
|
path = '/endpoint_configurations/%{id}/tls_termination'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointTLSTermination] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-tls-termination-module-replace
|
43
|
-
def replace!(
|
44
|
-
id: "",
|
45
|
-
a_module: nil
|
46
|
-
)
|
40
|
+
def replace!(id: "", a_module: nil)
|
47
41
|
path = '/endpoint_configurations/%{id}/tls_termination'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointTLSTermination] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-tls-termination-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/tls_termination'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointTLSTermination] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-tls-termination-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/tls_termination'
|
83
73
|
replacements = {
|
84
74
|
id: id,
|
@@ -93,9 +83,7 @@ module NgrokAPI
|
|
93
83
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
94
84
|
#
|
95
85
|
# https://ngrok.com/docs/api#api-endpoint-tls-termination-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/tls_termination'
|
100
88
|
replacements = {
|
101
89
|
id: id,
|
@@ -108,9 +96,7 @@ module NgrokAPI
|
|
108
96
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
109
97
|
#
|
110
98
|
# https://ngrok.com/docs/api#api-endpoint-tls-termination-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/tls_termination'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointWebhookValidation] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-webhook-validation-module-replace
|
23
|
-
def replace(
|
24
|
-
id: "",
|
25
|
-
a_module: nil
|
26
|
-
)
|
23
|
+
def replace(id: "", a_module: nil)
|
27
24
|
path = '/endpoint_configurations/%{id}/webhook_validation'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointWebhookValidation] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-webhook-validation-module-replace
|
43
|
-
def replace!(
|
44
|
-
id: "",
|
45
|
-
a_module: nil
|
46
|
-
)
|
40
|
+
def replace!(id: "", a_module: nil)
|
47
41
|
path = '/endpoint_configurations/%{id}/webhook_validation'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointWebhookValidation] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-webhook-validation-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/webhook_validation'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointWebhookValidation] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-webhook-validation-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/webhook_validation'
|
83
73
|
replacements = {
|
84
74
|
id: id,
|
@@ -93,9 +83,7 @@ module NgrokAPI
|
|
93
83
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
94
84
|
#
|
95
85
|
# https://ngrok.com/docs/api#api-endpoint-webhook-validation-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/webhook_validation'
|
100
88
|
replacements = {
|
101
89
|
id: id,
|
@@ -108,9 +96,7 @@ module NgrokAPI
|
|
108
96
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
109
97
|
#
|
110
98
|
# https://ngrok.com/docs/api#api-endpoint-webhook-validation-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/webhook_validation'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -28,13 +28,7 @@ module NgrokAPI
|
|
28
28
|
# @return [NgrokAPI::Models::EventDestination] result from the API request
|
29
29
|
#
|
30
30
|
# https://ngrok.com/docs/api#api-event-destinations-create
|
31
|
-
def create(
|
32
|
-
metadata: "",
|
33
|
-
description: "",
|
34
|
-
format: "",
|
35
|
-
target: nil,
|
36
|
-
verify_with_test_event: nil
|
37
|
-
)
|
31
|
+
def create(metadata: "", description: "", format: "", target: nil, verify_with_test_event: nil)
|
38
32
|
path = '/event_destinations'
|
39
33
|
replacements = {
|
40
34
|
}
|
@@ -56,9 +50,7 @@ module NgrokAPI
|
|
56
50
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
57
51
|
#
|
58
52
|
# https://ngrok.com/docs/api#api-event-destinations-delete
|
59
|
-
def delete(
|
60
|
-
id: ""
|
61
|
-
)
|
53
|
+
def delete(id: "")
|
62
54
|
path = '/event_destinations/%{id}'
|
63
55
|
replacements = {
|
64
56
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-event-destinations-delete
|
79
|
-
def delete!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def delete!(id: "")
|
82
72
|
path = '/event_destinations/%{id}'
|
83
73
|
replacements = {
|
84
74
|
id: id,
|
@@ -93,9 +83,7 @@ module NgrokAPI
|
|
93
83
|
# @return [NgrokAPI::Models::EventDestination] result from the API request
|
94
84
|
#
|
95
85
|
# https://ngrok.com/docs/api#api-event-destinations-get
|
96
|
-
def get(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def get(id: "")
|
99
87
|
path = '/event_destinations/%{id}'
|
100
88
|
replacements = {
|
101
89
|
id: id,
|
@@ -113,9 +101,7 @@ module NgrokAPI
|
|
113
101
|
# @return [NgrokAPI::Models::EventDestination] result from the API request
|
114
102
|
#
|
115
103
|
# https://ngrok.com/docs/api#api-event-destinations-get
|
116
|
-
def get!(
|
117
|
-
id: ""
|
118
|
-
)
|
104
|
+
def get!(id: "")
|
119
105
|
path = '/event_destinations/%{id}'
|
120
106
|
replacements = {
|
121
107
|
id: id,
|
@@ -134,11 +120,8 @@ module NgrokAPI
|
|
134
120
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
135
121
|
#
|
136
122
|
# https://ngrok.com/docs/api#api-event-destinations-list
|
137
|
-
def list(
|
138
|
-
|
139
|
-
limit: nil,
|
140
|
-
url: nil
|
141
|
-
)
|
123
|
+
def list(before_id: nil, limit: nil,
|
124
|
+
url: nil)
|
142
125
|
result = @client.list(
|
143
126
|
before_id: before_id,
|
144
127
|
limit: limit,
|
@@ -164,11 +147,8 @@ module NgrokAPI
|
|
164
147
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
165
148
|
#
|
166
149
|
# https://ngrok.com/docs/api#api-event-destinations-list
|
167
|
-
def list!(
|
168
|
-
|
169
|
-
limit: nil,
|
170
|
-
url: nil
|
171
|
-
)
|
150
|
+
def list!(before_id: nil, limit: nil,
|
151
|
+
url: nil)
|
172
152
|
result = @client.list(
|
173
153
|
before_id: before_id,
|
174
154
|
limit: limit,
|
@@ -197,14 +177,7 @@ module NgrokAPI
|
|
197
177
|
# @return [NgrokAPI::Models::EventDestination] result from the API request
|
198
178
|
#
|
199
179
|
# https://ngrok.com/docs/api#api-event-destinations-update
|
200
|
-
def update(
|
201
|
-
id: "",
|
202
|
-
metadata: nil,
|
203
|
-
description: nil,
|
204
|
-
format: nil,
|
205
|
-
target: nil,
|
206
|
-
verify_with_test_event: nil
|
207
|
-
)
|
180
|
+
def update(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil)
|
208
181
|
path = '/event_destinations/%{id}'
|
209
182
|
replacements = {
|
210
183
|
id: id,
|
@@ -230,14 +203,7 @@ module NgrokAPI
|
|
230
203
|
# @return [NgrokAPI::Models::EventDestination] result from the API request
|
231
204
|
#
|
232
205
|
# https://ngrok.com/docs/api#api-event-destinations-update
|
233
|
-
def update!(
|
234
|
-
id: "",
|
235
|
-
metadata: nil,
|
236
|
-
description: nil,
|
237
|
-
format: nil,
|
238
|
-
target: nil,
|
239
|
-
verify_with_test_event: nil
|
240
|
-
)
|
206
|
+
def update!(id: "", metadata: nil, description: nil, format: nil, target: nil, verify_with_test_event: nil)
|
241
207
|
path = '/event_destinations/%{id}'
|
242
208
|
replacements = {
|
243
209
|
id: id,
|
@@ -22,12 +22,7 @@ module NgrokAPI
|
|
22
22
|
# @return [NgrokAPI::Models::EventSource] result from the API request
|
23
23
|
#
|
24
24
|
# https://ngrok.com/docs/api#api-event-sources-create
|
25
|
-
def create(
|
26
|
-
subscription_id: "",
|
27
|
-
type: "",
|
28
|
-
filter: "",
|
29
|
-
fields: []
|
30
|
-
)
|
25
|
+
def create(subscription_id: "", type: "", filter: "", fields: [])
|
31
26
|
path = '/event_subscriptions/%{subscription_id}/sources'
|
32
27
|
replacements = {
|
33
28
|
subscription_id: subscription_id,
|
@@ -46,10 +41,7 @@ module NgrokAPI
|
|
46
41
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
47
42
|
#
|
48
43
|
# https://ngrok.com/docs/api#api-event-sources-delete
|
49
|
-
def delete(
|
50
|
-
subscription_id: "",
|
51
|
-
type: ""
|
52
|
-
)
|
44
|
+
def delete(subscription_id: "", type: "")
|
53
45
|
path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
|
54
46
|
replacements = {
|
55
47
|
subscription_id: subscription_id,
|
@@ -67,10 +59,7 @@ module NgrokAPI
|
|
67
59
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
68
60
|
#
|
69
61
|
# https://ngrok.com/docs/api#api-event-sources-delete
|
70
|
-
def delete!(
|
71
|
-
subscription_id: "",
|
72
|
-
type: ""
|
73
|
-
)
|
62
|
+
def delete!(subscription_id: "", type: "")
|
74
63
|
path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
|
75
64
|
replacements = {
|
76
65
|
subscription_id: subscription_id,
|
@@ -87,10 +76,7 @@ module NgrokAPI
|
|
87
76
|
# @return [NgrokAPI::Models::EventSource] result from the API request
|
88
77
|
#
|
89
78
|
# https://ngrok.com/docs/api#api-event-sources-get
|
90
|
-
def get(
|
91
|
-
subscription_id: "",
|
92
|
-
type: ""
|
93
|
-
)
|
79
|
+
def get(subscription_id: "", type: "")
|
94
80
|
path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
|
95
81
|
replacements = {
|
96
82
|
subscription_id: subscription_id,
|
@@ -110,10 +96,7 @@ module NgrokAPI
|
|
110
96
|
# @return [NgrokAPI::Models::EventSource] result from the API request
|
111
97
|
#
|
112
98
|
# https://ngrok.com/docs/api#api-event-sources-get
|
113
|
-
def get!(
|
114
|
-
subscription_id: "",
|
115
|
-
type: ""
|
116
|
-
)
|
99
|
+
def get!(subscription_id: "", type: "")
|
117
100
|
path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
|
118
101
|
replacements = {
|
119
102
|
subscription_id: subscription_id,
|
@@ -131,9 +114,7 @@ module NgrokAPI
|
|
131
114
|
# @return [NgrokAPI::Models::EventSourceList] result from the API request
|
132
115
|
#
|
133
116
|
# https://ngrok.com/docs/api#api-event-sources-list
|
134
|
-
def list(
|
135
|
-
subscription_id: ""
|
136
|
-
)
|
117
|
+
def list(subscription_id: "")
|
137
118
|
path = '/event_subscriptions/%{subscription_id}/sources'
|
138
119
|
replacements = {
|
139
120
|
subscription_id: subscription_id,
|
@@ -151,9 +132,7 @@ module NgrokAPI
|
|
151
132
|
# @return [NgrokAPI::Models::EventSourceList] result from the API request
|
152
133
|
#
|
153
134
|
# https://ngrok.com/docs/api#api-event-sources-list
|
154
|
-
def list!(
|
155
|
-
subscription_id: ""
|
156
|
-
)
|
135
|
+
def list!(subscription_id: "")
|
157
136
|
path = '/event_subscriptions/%{subscription_id}/sources'
|
158
137
|
replacements = {
|
159
138
|
subscription_id: subscription_id,
|
@@ -171,12 +150,7 @@ module NgrokAPI
|
|
171
150
|
# @return [NgrokAPI::Models::EventSource] result from the API request
|
172
151
|
#
|
173
152
|
# https://ngrok.com/docs/api#api-event-sources-update
|
174
|
-
def update(
|
175
|
-
subscription_id: "",
|
176
|
-
type: "",
|
177
|
-
filter: nil,
|
178
|
-
fields: nil
|
179
|
-
)
|
153
|
+
def update(subscription_id: "", type: "", filter: nil, fields: nil)
|
180
154
|
path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
|
181
155
|
replacements = {
|
182
156
|
subscription_id: subscription_id,
|
@@ -196,12 +170,7 @@ module NgrokAPI
|
|
196
170
|
# @return [NgrokAPI::Models::EventSource] result from the API request
|
197
171
|
#
|
198
172
|
# https://ngrok.com/docs/api#api-event-sources-update
|
199
|
-
def update!(
|
200
|
-
subscription_id: "",
|
201
|
-
type: "",
|
202
|
-
filter: nil,
|
203
|
-
fields: nil
|
204
|
-
)
|
173
|
+
def update!(subscription_id: "", type: "", filter: nil, fields: nil)
|
205
174
|
path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
|
206
175
|
replacements = {
|
207
176
|
subscription_id: subscription_id,
|