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
@@ -33,11 +33,7 @@ module NgrokAPI
|
|
33
33
|
# @return [NgrokAPI::Models::Credential] result from the API request
|
34
34
|
#
|
35
35
|
# https://ngrok.com/docs/api#api-credentials-create
|
36
|
-
def create(
|
37
|
-
description: "",
|
38
|
-
metadata: "",
|
39
|
-
acl: []
|
40
|
-
)
|
36
|
+
def create(description: "", metadata: "", acl: [])
|
41
37
|
path = '/credentials'
|
42
38
|
replacements = {
|
43
39
|
}
|
@@ -56,9 +52,7 @@ module NgrokAPI
|
|
56
52
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
57
53
|
#
|
58
54
|
# https://ngrok.com/docs/api#api-credentials-delete
|
59
|
-
def delete(
|
60
|
-
id: ""
|
61
|
-
)
|
55
|
+
def delete(id: "")
|
62
56
|
path = '/credentials/%{id}'
|
63
57
|
replacements = {
|
64
58
|
id: id,
|
@@ -74,9 +68,7 @@ module NgrokAPI
|
|
74
68
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
75
69
|
#
|
76
70
|
# https://ngrok.com/docs/api#api-credentials-delete
|
77
|
-
def delete!(
|
78
|
-
id: ""
|
79
|
-
)
|
71
|
+
def delete!(id: "")
|
80
72
|
path = '/credentials/%{id}'
|
81
73
|
replacements = {
|
82
74
|
id: id,
|
@@ -91,9 +83,7 @@ module NgrokAPI
|
|
91
83
|
# @return [NgrokAPI::Models::Credential] result from the API request
|
92
84
|
#
|
93
85
|
# https://ngrok.com/docs/api#api-credentials-get
|
94
|
-
def get(
|
95
|
-
id: ""
|
96
|
-
)
|
86
|
+
def get(id: "")
|
97
87
|
path = '/credentials/%{id}'
|
98
88
|
replacements = {
|
99
89
|
id: id,
|
@@ -111,9 +101,7 @@ module NgrokAPI
|
|
111
101
|
# @return [NgrokAPI::Models::Credential] result from the API request
|
112
102
|
#
|
113
103
|
# https://ngrok.com/docs/api#api-credentials-get
|
114
|
-
def get!(
|
115
|
-
id: ""
|
116
|
-
)
|
104
|
+
def get!(id: "")
|
117
105
|
path = '/credentials/%{id}'
|
118
106
|
replacements = {
|
119
107
|
id: id,
|
@@ -132,11 +120,8 @@ module NgrokAPI
|
|
132
120
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
133
121
|
#
|
134
122
|
# https://ngrok.com/docs/api#api-credentials-list
|
135
|
-
def list(
|
136
|
-
|
137
|
-
limit: nil,
|
138
|
-
url: nil
|
139
|
-
)
|
123
|
+
def list(before_id: nil, limit: nil,
|
124
|
+
url: nil)
|
140
125
|
result = @client.list(
|
141
126
|
before_id: before_id,
|
142
127
|
limit: limit,
|
@@ -162,11 +147,8 @@ module NgrokAPI
|
|
162
147
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
163
148
|
#
|
164
149
|
# https://ngrok.com/docs/api#api-credentials-list
|
165
|
-
def list!(
|
166
|
-
|
167
|
-
limit: nil,
|
168
|
-
url: nil
|
169
|
-
)
|
150
|
+
def list!(before_id: nil, limit: nil,
|
151
|
+
url: nil)
|
170
152
|
result = @client.list(
|
171
153
|
before_id: before_id,
|
172
154
|
limit: limit,
|
@@ -194,12 +176,7 @@ module NgrokAPI
|
|
194
176
|
# @return [NgrokAPI::Models::Credential] result from the API request
|
195
177
|
#
|
196
178
|
# https://ngrok.com/docs/api#api-credentials-update
|
197
|
-
def update(
|
198
|
-
id: "",
|
199
|
-
description: nil,
|
200
|
-
metadata: nil,
|
201
|
-
acl: nil
|
202
|
-
)
|
179
|
+
def update(id: "", description: nil, metadata: nil, acl: nil)
|
203
180
|
path = '/credentials/%{id}'
|
204
181
|
replacements = {
|
205
182
|
id: id,
|
@@ -223,12 +200,7 @@ module NgrokAPI
|
|
223
200
|
# @return [NgrokAPI::Models::Credential] result from the API request
|
224
201
|
#
|
225
202
|
# https://ngrok.com/docs/api#api-credentials-update
|
226
|
-
def update!(
|
227
|
-
id: "",
|
228
|
-
description: nil,
|
229
|
-
metadata: nil,
|
230
|
-
acl: nil
|
231
|
-
)
|
203
|
+
def update!(id: "", description: nil, metadata: nil, acl: nil)
|
232
204
|
path = '/credentials/%{id}'
|
233
205
|
replacements = {
|
234
206
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointCircuitBreaker] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-circuit-breaker-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}/circuit_breaker'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointCircuitBreaker] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-circuit-breaker-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}/circuit_breaker'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointCircuitBreaker] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-circuit-breaker-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/circuit_breaker'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointCircuitBreaker] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-circuit-breaker-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/circuit_breaker'
|
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-circuit-breaker-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/circuit_breaker'
|
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-circuit-breaker-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/circuit_breaker'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointCompression] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-compression-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}/compression'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointCompression] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-compression-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}/compression'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointCompression] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-compression-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/compression'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointCompression] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-compression-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/compression'
|
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-compression-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/compression'
|
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-compression-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/compression'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -41,25 +41,7 @@ module NgrokAPI
|
|
41
41
|
# @return [NgrokAPI::Models::EndpointConfiguration] result from the API request
|
42
42
|
#
|
43
43
|
# https://ngrok.com/docs/api#api-endpoint-configurations-create
|
44
|
-
def create(
|
45
|
-
type: "",
|
46
|
-
description: "",
|
47
|
-
metadata: "",
|
48
|
-
basic_auth: nil,
|
49
|
-
circuit_breaker: nil,
|
50
|
-
compression: nil,
|
51
|
-
request_headers: nil,
|
52
|
-
response_headers: nil,
|
53
|
-
ip_policy: nil,
|
54
|
-
mutual_tls: nil,
|
55
|
-
tls_termination: nil,
|
56
|
-
webhook_validation: nil,
|
57
|
-
oauth: nil,
|
58
|
-
logging: nil,
|
59
|
-
saml: nil,
|
60
|
-
oidc: nil,
|
61
|
-
backend: nil
|
62
|
-
)
|
44
|
+
def create(type: "", description: "", metadata: "", basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil)
|
63
45
|
path = '/endpoint_configurations'
|
64
46
|
replacements = {
|
65
47
|
}
|
@@ -91,9 +73,7 @@ module NgrokAPI
|
|
91
73
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
92
74
|
#
|
93
75
|
# https://ngrok.com/docs/api#api-endpoint-configurations-delete
|
94
|
-
def delete(
|
95
|
-
id: ""
|
96
|
-
)
|
76
|
+
def delete(id: "")
|
97
77
|
path = '/endpoint_configurations/%{id}'
|
98
78
|
replacements = {
|
99
79
|
id: id,
|
@@ -110,9 +90,7 @@ module NgrokAPI
|
|
110
90
|
# @return [NgrokAPI::Models::Empty] result from the API request
|
111
91
|
#
|
112
92
|
# https://ngrok.com/docs/api#api-endpoint-configurations-delete
|
113
|
-
def delete!(
|
114
|
-
id: ""
|
115
|
-
)
|
93
|
+
def delete!(id: "")
|
116
94
|
path = '/endpoint_configurations/%{id}'
|
117
95
|
replacements = {
|
118
96
|
id: id,
|
@@ -127,9 +105,7 @@ module NgrokAPI
|
|
127
105
|
# @return [NgrokAPI::Models::EndpointConfiguration] result from the API request
|
128
106
|
#
|
129
107
|
# https://ngrok.com/docs/api#api-endpoint-configurations-get
|
130
|
-
def get(
|
131
|
-
id: ""
|
132
|
-
)
|
108
|
+
def get(id: "")
|
133
109
|
path = '/endpoint_configurations/%{id}'
|
134
110
|
replacements = {
|
135
111
|
id: id,
|
@@ -147,9 +123,7 @@ module NgrokAPI
|
|
147
123
|
# @return [NgrokAPI::Models::EndpointConfiguration] result from the API request
|
148
124
|
#
|
149
125
|
# https://ngrok.com/docs/api#api-endpoint-configurations-get
|
150
|
-
def get!(
|
151
|
-
id: ""
|
152
|
-
)
|
126
|
+
def get!(id: "")
|
153
127
|
path = '/endpoint_configurations/%{id}'
|
154
128
|
replacements = {
|
155
129
|
id: id,
|
@@ -168,11 +142,8 @@ module NgrokAPI
|
|
168
142
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
169
143
|
#
|
170
144
|
# https://ngrok.com/docs/api#api-endpoint-configurations-list
|
171
|
-
def list(
|
172
|
-
|
173
|
-
limit: nil,
|
174
|
-
url: nil
|
175
|
-
)
|
145
|
+
def list(before_id: nil, limit: nil,
|
146
|
+
url: nil)
|
176
147
|
result = @client.list(
|
177
148
|
before_id: before_id,
|
178
149
|
limit: limit,
|
@@ -198,11 +169,8 @@ module NgrokAPI
|
|
198
169
|
# @return [NgrokAPI::Models::Listable] result from the API request
|
199
170
|
#
|
200
171
|
# https://ngrok.com/docs/api#api-endpoint-configurations-list
|
201
|
-
def list!(
|
202
|
-
|
203
|
-
limit: nil,
|
204
|
-
url: nil
|
205
|
-
)
|
172
|
+
def list!(before_id: nil, limit: nil,
|
173
|
+
url: nil)
|
206
174
|
result = @client.list(
|
207
175
|
before_id: before_id,
|
208
176
|
limit: limit,
|
@@ -244,25 +212,7 @@ module NgrokAPI
|
|
244
212
|
# @return [NgrokAPI::Models::EndpointConfiguration] result from the API request
|
245
213
|
#
|
246
214
|
# https://ngrok.com/docs/api#api-endpoint-configurations-update
|
247
|
-
def update(
|
248
|
-
id: "",
|
249
|
-
description: nil,
|
250
|
-
metadata: nil,
|
251
|
-
basic_auth: nil,
|
252
|
-
circuit_breaker: nil,
|
253
|
-
compression: nil,
|
254
|
-
request_headers: nil,
|
255
|
-
response_headers: nil,
|
256
|
-
ip_policy: nil,
|
257
|
-
mutual_tls: nil,
|
258
|
-
tls_termination: nil,
|
259
|
-
webhook_validation: nil,
|
260
|
-
oauth: nil,
|
261
|
-
logging: nil,
|
262
|
-
saml: nil,
|
263
|
-
oidc: nil,
|
264
|
-
backend: nil
|
265
|
-
)
|
215
|
+
def update(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil)
|
266
216
|
path = '/endpoint_configurations/%{id}'
|
267
217
|
replacements = {
|
268
218
|
id: id,
|
@@ -311,25 +261,7 @@ module NgrokAPI
|
|
311
261
|
# @return [NgrokAPI::Models::EndpointConfiguration] result from the API request
|
312
262
|
#
|
313
263
|
# https://ngrok.com/docs/api#api-endpoint-configurations-update
|
314
|
-
def update!(
|
315
|
-
id: "",
|
316
|
-
description: nil,
|
317
|
-
metadata: nil,
|
318
|
-
basic_auth: nil,
|
319
|
-
circuit_breaker: nil,
|
320
|
-
compression: nil,
|
321
|
-
request_headers: nil,
|
322
|
-
response_headers: nil,
|
323
|
-
ip_policy: nil,
|
324
|
-
mutual_tls: nil,
|
325
|
-
tls_termination: nil,
|
326
|
-
webhook_validation: nil,
|
327
|
-
oauth: nil,
|
328
|
-
logging: nil,
|
329
|
-
saml: nil,
|
330
|
-
oidc: nil,
|
331
|
-
backend: nil
|
332
|
-
)
|
264
|
+
def update!(id: "", description: nil, metadata: nil, basic_auth: nil, circuit_breaker: nil, compression: nil, request_headers: nil, response_headers: nil, ip_policy: nil, mutual_tls: nil, tls_termination: nil, webhook_validation: nil, oauth: nil, logging: nil, saml: nil, oidc: nil, backend: nil)
|
333
265
|
path = '/endpoint_configurations/%{id}'
|
334
266
|
replacements = {
|
335
267
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointIPPolicy] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-ip-policy-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}/ip_policy'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointIPPolicy] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-ip-policy-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}/ip_policy'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointIPPolicy] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-ip-policy-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/ip_policy'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointIPPolicy] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-ip-policy-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/ip_policy'
|
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-ip-policy-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/ip_policy'
|
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-ip-policy-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/ip_policy'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointLogging] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-logging-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}/logging'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointLogging] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-logging-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}/logging'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointLogging] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-logging-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/logging'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointLogging] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-logging-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/logging'
|
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-logging-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/logging'
|
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-logging-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/logging'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointMutualTLS] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-mutual-tls-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}/mutual_tls'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointMutualTLS] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-mutual-tls-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}/mutual_tls'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointMutualTLS] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-mutual-tls-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/mutual_tls'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointMutualTLS] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-mutual-tls-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/mutual_tls'
|
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-mutual-tls-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/mutual_tls'
|
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-mutual-tls-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/mutual_tls'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|
@@ -20,10 +20,7 @@ module NgrokAPI
|
|
20
20
|
# @return [NgrokAPI::Models::EndpointOAuth] result from the API request
|
21
21
|
#
|
22
22
|
# https://ngrok.com/docs/api#api-endpoint-o-auth-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}/oauth'
|
28
25
|
replacements = {
|
29
26
|
id: id,
|
@@ -40,10 +37,7 @@ module NgrokAPI
|
|
40
37
|
# @return [NgrokAPI::Models::EndpointOAuth] result from the API request
|
41
38
|
#
|
42
39
|
# https://ngrok.com/docs/api#api-endpoint-o-auth-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}/oauth'
|
48
42
|
replacements = {
|
49
43
|
id: id,
|
@@ -59,9 +53,7 @@ module NgrokAPI
|
|
59
53
|
# @return [NgrokAPI::Models::EndpointOAuth] result from the API request
|
60
54
|
#
|
61
55
|
# https://ngrok.com/docs/api#api-endpoint-o-auth-module-get
|
62
|
-
def get(
|
63
|
-
id: ""
|
64
|
-
)
|
56
|
+
def get(id: "")
|
65
57
|
path = '/endpoint_configurations/%{id}/oauth'
|
66
58
|
replacements = {
|
67
59
|
id: id,
|
@@ -76,9 +68,7 @@ module NgrokAPI
|
|
76
68
|
# @return [NgrokAPI::Models::EndpointOAuth] result from the API request
|
77
69
|
#
|
78
70
|
# https://ngrok.com/docs/api#api-endpoint-o-auth-module-get
|
79
|
-
def get!(
|
80
|
-
id: ""
|
81
|
-
)
|
71
|
+
def get!(id: "")
|
82
72
|
path = '/endpoint_configurations/%{id}/oauth'
|
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-o-auth-module-delete
|
96
|
-
def delete(
|
97
|
-
id: ""
|
98
|
-
)
|
86
|
+
def delete(id: "")
|
99
87
|
path = '/endpoint_configurations/%{id}/oauth'
|
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-o-auth-module-delete
|
111
|
-
def delete!(
|
112
|
-
id: ""
|
113
|
-
)
|
99
|
+
def delete!(id: "")
|
114
100
|
path = '/endpoint_configurations/%{id}/oauth'
|
115
101
|
replacements = {
|
116
102
|
id: id,
|