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.
Files changed (266) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/doc/NgrokAPI/Client.html +140 -172
  4. data/doc/NgrokAPI/Error.html +3 -3
  5. data/doc/NgrokAPI/Errors/NotFoundError.html +3 -3
  6. data/doc/NgrokAPI/Errors.html +3 -3
  7. data/doc/NgrokAPI/HttpClient.html +30 -36
  8. data/doc/NgrokAPI/Models/APIKey.html +3 -3
  9. data/doc/NgrokAPI/Models/AWSAuth.html +3 -3
  10. data/doc/NgrokAPI/Models/AWSCredentials.html +3 -3
  11. data/doc/NgrokAPI/Models/AWSRole.html +3 -3
  12. data/doc/NgrokAPI/Models/AbuseReport.html +3 -3
  13. data/doc/NgrokAPI/Models/AbuseReportHostname.html +3 -3
  14. data/doc/NgrokAPI/Models/{IPWhitelistEntry.html → AgentIngress.html} +216 -68
  15. data/doc/NgrokAPI/Models/CertificateAuthority.html +3 -3
  16. data/doc/NgrokAPI/Models/Credential.html +3 -3
  17. data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
  18. data/doc/NgrokAPI/Models/EndpointCompression.html +3 -3
  19. data/doc/NgrokAPI/Models/EndpointConfiguration.html +3 -3
  20. data/doc/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
  21. data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
  22. data/doc/NgrokAPI/Models/EndpointLogging.html +3 -3
  23. data/doc/NgrokAPI/Models/EndpointLoggingMutate.html +3 -3
  24. data/doc/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
  25. data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
  26. data/doc/NgrokAPI/Models/EndpointOAuth.html +3 -3
  27. data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
  28. data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
  29. data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
  30. data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
  31. data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
  32. data/doc/NgrokAPI/Models/EndpointOIDC.html +3 -3
  33. data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
  34. data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
  35. data/doc/NgrokAPI/Models/EndpointSAML.html +3 -3
  36. data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +3 -3
  37. data/doc/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
  38. data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
  39. data/doc/NgrokAPI/Models/EventDestination.html +3 -3
  40. data/doc/NgrokAPI/Models/EventSource.html +3 -3
  41. data/doc/NgrokAPI/Models/EventSourceList.html +3 -3
  42. data/doc/NgrokAPI/Models/EventSourceReplace.html +3 -3
  43. data/doc/NgrokAPI/Models/EventStream.html +3 -3
  44. data/doc/NgrokAPI/Models/EventSubscription.html +3 -3
  45. data/doc/NgrokAPI/Models/EventTarget.html +3 -3
  46. data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
  47. data/doc/NgrokAPI/Models/EventTargetFirehose.html +3 -3
  48. data/doc/NgrokAPI/Models/EventTargetKinesis.html +3 -3
  49. data/doc/NgrokAPI/Models/IPPolicy.html +3 -3
  50. data/doc/NgrokAPI/Models/IPPolicyRule.html +3 -3
  51. data/doc/NgrokAPI/Models/IPRestriction.html +3 -3
  52. data/doc/NgrokAPI/Models/Listable.html +3 -3
  53. data/doc/NgrokAPI/Models/Ref.html +3 -3
  54. data/doc/NgrokAPI/Models/ReservedAddr.html +3 -3
  55. data/doc/NgrokAPI/Models/ReservedDomain.html +3 -3
  56. data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
  57. data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
  58. data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
  59. data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
  60. data/doc/NgrokAPI/Models/SSHCredential.html +3 -3
  61. data/doc/NgrokAPI/Models/SSHHostCertificate.html +3 -3
  62. data/doc/NgrokAPI/Models/SSHUserCertificate.html +3 -3
  63. data/doc/NgrokAPI/Models/TLSCertificate.html +3 -3
  64. data/doc/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
  65. data/doc/NgrokAPI/Models/Tunnel.html +3 -3
  66. data/doc/NgrokAPI/Models/TunnelSession.html +3 -3
  67. data/doc/NgrokAPI/Models.html +5 -5
  68. data/doc/NgrokAPI/PagedIterator.html +3 -3
  69. data/doc/NgrokAPI/Services/APIKeysClient.html +99 -149
  70. data/doc/NgrokAPI/Services/AbuseReportsClient.html +19 -33
  71. data/doc/NgrokAPI/Services/{IPWhitelistClient.html → AgentIngressesClient.html} +209 -265
  72. data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +104 -156
  73. data/doc/NgrokAPI/Services/CredentialsClient.html +108 -164
  74. data/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +49 -77
  75. data/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html +49 -77
  76. data/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +137 -273
  77. data/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +49 -77
  78. data/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html +49 -77
  79. data/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +49 -77
  80. data/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html +49 -77
  81. data/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html +49 -77
  82. data/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +49 -77
  83. data/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +49 -77
  84. data/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html +49 -77
  85. data/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +49 -77
  86. data/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +49 -77
  87. data/doc/NgrokAPI/Services/EventDestinationsClient.html +116 -184
  88. data/doc/NgrokAPI/Services/EventSourcesClient.html +95 -157
  89. data/doc/NgrokAPI/Services/EventStreamsClient.html +119 -189
  90. data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +113 -175
  91. data/doc/NgrokAPI/Services/IPPoliciesClient.html +104 -156
  92. data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +111 -169
  93. data/doc/NgrokAPI/Services/IPRestrictionsClient.html +116 -180
  94. data/doc/NgrokAPI/Services/ReservedAddrsClient.html +132 -198
  95. data/doc/NgrokAPI/Services/ReservedDomainsClient.html +193 -303
  96. data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +110 -166
  97. data/doc/NgrokAPI/Services/SSHCredentialsClient.html +111 -169
  98. data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +111 -171
  99. data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +111 -175
  100. data/doc/NgrokAPI/Services/TLSCertificatesClient.html +107 -161
  101. data/doc/NgrokAPI/Services/TunnelSessionsClient.html +87 -135
  102. data/doc/NgrokAPI/Services/TunnelsClient.html +13 -25
  103. data/doc/NgrokAPI/Services.html +5 -5
  104. data/doc/NgrokAPI.html +4 -4
  105. data/doc/_index.html +18 -18
  106. data/doc/class_list.html +1 -1
  107. data/doc/file.README.html +3 -3
  108. data/doc/frames.html +1 -1
  109. data/doc/index.html +3 -3
  110. data/doc/method_list.html +574 -558
  111. data/doc/top-level-namespace.html +3 -3
  112. data/docs/NgrokAPI/Client.html +140 -172
  113. data/docs/NgrokAPI/Error.html +3 -3
  114. data/docs/NgrokAPI/Errors/NotFoundError.html +3 -3
  115. data/docs/NgrokAPI/Errors.html +3 -3
  116. data/docs/NgrokAPI/HttpClient.html +30 -36
  117. data/docs/NgrokAPI/Models/APIKey.html +3 -3
  118. data/docs/NgrokAPI/Models/AWSAuth.html +3 -3
  119. data/docs/NgrokAPI/Models/AWSCredentials.html +3 -3
  120. data/docs/NgrokAPI/Models/AWSRole.html +3 -3
  121. data/docs/NgrokAPI/Models/AbuseReport.html +3 -3
  122. data/docs/NgrokAPI/Models/AbuseReportHostname.html +3 -3
  123. data/docs/NgrokAPI/Models/{IPWhitelistEntry.html → AgentIngress.html} +216 -68
  124. data/docs/NgrokAPI/Models/CertificateAuthority.html +3 -3
  125. data/docs/NgrokAPI/Models/Credential.html +3 -3
  126. data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
  127. data/docs/NgrokAPI/Models/EndpointCompression.html +3 -3
  128. data/docs/NgrokAPI/Models/EndpointConfiguration.html +3 -3
  129. data/docs/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
  130. data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
  131. data/docs/NgrokAPI/Models/EndpointLogging.html +3 -3
  132. data/docs/NgrokAPI/Models/EndpointLoggingMutate.html +3 -3
  133. data/docs/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
  134. data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
  135. data/docs/NgrokAPI/Models/EndpointOAuth.html +3 -3
  136. data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
  137. data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
  138. data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
  139. data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
  140. data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
  141. data/docs/NgrokAPI/Models/EndpointOIDC.html +3 -3
  142. data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
  143. data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
  144. data/docs/NgrokAPI/Models/EndpointSAML.html +3 -3
  145. data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +3 -3
  146. data/docs/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
  147. data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
  148. data/docs/NgrokAPI/Models/EventDestination.html +3 -3
  149. data/docs/NgrokAPI/Models/EventSource.html +3 -3
  150. data/docs/NgrokAPI/Models/EventSourceList.html +3 -3
  151. data/docs/NgrokAPI/Models/EventSourceReplace.html +3 -3
  152. data/docs/NgrokAPI/Models/EventStream.html +3 -3
  153. data/docs/NgrokAPI/Models/EventSubscription.html +3 -3
  154. data/docs/NgrokAPI/Models/EventTarget.html +3 -3
  155. data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
  156. data/docs/NgrokAPI/Models/EventTargetFirehose.html +3 -3
  157. data/docs/NgrokAPI/Models/EventTargetKinesis.html +3 -3
  158. data/docs/NgrokAPI/Models/IPPolicy.html +3 -3
  159. data/docs/NgrokAPI/Models/IPPolicyRule.html +3 -3
  160. data/docs/NgrokAPI/Models/IPRestriction.html +3 -3
  161. data/docs/NgrokAPI/Models/Listable.html +3 -3
  162. data/docs/NgrokAPI/Models/Ref.html +3 -3
  163. data/docs/NgrokAPI/Models/ReservedAddr.html +3 -3
  164. data/docs/NgrokAPI/Models/ReservedDomain.html +3 -3
  165. data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
  166. data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
  167. data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
  168. data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
  169. data/docs/NgrokAPI/Models/SSHCredential.html +3 -3
  170. data/docs/NgrokAPI/Models/SSHHostCertificate.html +3 -3
  171. data/docs/NgrokAPI/Models/SSHUserCertificate.html +3 -3
  172. data/docs/NgrokAPI/Models/TLSCertificate.html +3 -3
  173. data/docs/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
  174. data/docs/NgrokAPI/Models/Tunnel.html +3 -3
  175. data/docs/NgrokAPI/Models/TunnelSession.html +3 -3
  176. data/docs/NgrokAPI/Models.html +5 -5
  177. data/docs/NgrokAPI/PagedIterator.html +3 -3
  178. data/docs/NgrokAPI/Services/APIKeysClient.html +99 -149
  179. data/docs/NgrokAPI/Services/AbuseReportsClient.html +19 -33
  180. data/docs/NgrokAPI/Services/{IPWhitelistClient.html → AgentIngressesClient.html} +209 -265
  181. data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +104 -156
  182. data/docs/NgrokAPI/Services/CredentialsClient.html +108 -164
  183. data/docs/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +49 -77
  184. data/docs/NgrokAPI/Services/EndpointCompressionModuleClient.html +49 -77
  185. data/docs/NgrokAPI/Services/EndpointConfigurationsClient.html +137 -273
  186. data/docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +49 -77
  187. data/docs/NgrokAPI/Services/EndpointLoggingModuleClient.html +49 -77
  188. data/docs/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +49 -77
  189. data/docs/NgrokAPI/Services/EndpointOAuthModuleClient.html +49 -77
  190. data/docs/NgrokAPI/Services/EndpointOIDCModuleClient.html +49 -77
  191. data/docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +49 -77
  192. data/docs/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +49 -77
  193. data/docs/NgrokAPI/Services/EndpointSAMLModuleClient.html +49 -77
  194. data/docs/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +49 -77
  195. data/docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +49 -77
  196. data/docs/NgrokAPI/Services/EventDestinationsClient.html +116 -184
  197. data/docs/NgrokAPI/Services/EventSourcesClient.html +95 -157
  198. data/docs/NgrokAPI/Services/EventStreamsClient.html +119 -189
  199. data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +113 -175
  200. data/docs/NgrokAPI/Services/IPPoliciesClient.html +104 -156
  201. data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +111 -169
  202. data/docs/NgrokAPI/Services/IPRestrictionsClient.html +116 -180
  203. data/docs/NgrokAPI/Services/ReservedAddrsClient.html +132 -198
  204. data/docs/NgrokAPI/Services/ReservedDomainsClient.html +193 -303
  205. data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +110 -166
  206. data/docs/NgrokAPI/Services/SSHCredentialsClient.html +111 -169
  207. data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +111 -171
  208. data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +111 -175
  209. data/docs/NgrokAPI/Services/TLSCertificatesClient.html +107 -161
  210. data/docs/NgrokAPI/Services/TunnelSessionsClient.html +87 -135
  211. data/docs/NgrokAPI/Services/TunnelsClient.html +13 -25
  212. data/docs/NgrokAPI/Services.html +5 -5
  213. data/docs/NgrokAPI.html +4 -4
  214. data/docs/_index.html +18 -18
  215. data/docs/class_list.html +1 -1
  216. data/docs/file.README.html +3 -3
  217. data/docs/frames.html +1 -1
  218. data/docs/index.html +3 -3
  219. data/docs/method_list.html +574 -558
  220. data/docs/top-level-namespace.html +3 -3
  221. data/lib/ngrokapi/client.rb +5 -13
  222. data/lib/ngrokapi/http_client.rb +1 -4
  223. data/lib/ngrokapi/models/{ip_whitelist_entry.rb → agent_ingress.rb} +13 -9
  224. data/lib/ngrokapi/services/abuse_reports_client.rb +3 -10
  225. data/lib/ngrokapi/services/{ip_whitelist_client.rb → agent_ingresses_client.rb} +65 -94
  226. data/lib/ngrokapi/services/api_keys_client.rb +11 -36
  227. data/lib/ngrokapi/services/certificate_authorities_client.rb +11 -37
  228. data/lib/ngrokapi/services/credentials_client.rb +11 -39
  229. data/lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +6 -20
  230. data/lib/ngrokapi/services/endpoint_compression_module_client.rb +6 -20
  231. data/lib/ngrokapi/services/endpoint_configurations_client.rb +11 -79
  232. data/lib/ngrokapi/services/endpoint_ip_policy_module_client.rb +6 -20
  233. data/lib/ngrokapi/services/endpoint_logging_module_client.rb +6 -20
  234. data/lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb +6 -20
  235. data/lib/ngrokapi/services/endpoint_o_auth_module_client.rb +6 -20
  236. data/lib/ngrokapi/services/endpoint_oidc_module_client.rb +6 -20
  237. data/lib/ngrokapi/services/endpoint_request_headers_module_client.rb +6 -20
  238. data/lib/ngrokapi/services/endpoint_response_headers_module_client.rb +6 -20
  239. data/lib/ngrokapi/services/endpoint_saml_module_client.rb +6 -20
  240. data/lib/ngrokapi/services/endpoint_tls_termination_module_client.rb +6 -20
  241. data/lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +6 -20
  242. data/lib/ngrokapi/services/event_destinations_client.rb +11 -45
  243. data/lib/ngrokapi/services/event_sources_client.rb +9 -40
  244. data/lib/ngrokapi/services/event_streams_client.rb +11 -46
  245. data/lib/ngrokapi/services/event_subscriptions_client.rb +11 -42
  246. data/lib/ngrokapi/services/ip_policies_client.rb +11 -37
  247. data/lib/ngrokapi/services/ip_policy_rules_client.rb +11 -40
  248. data/lib/ngrokapi/services/ip_restrictions_client.rb +11 -43
  249. data/lib/ngrokapi/services/reserved_addrs_client.rb +13 -46
  250. data/lib/ngrokapi/services/reserved_domains_client.rb +19 -74
  251. data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +11 -39
  252. data/lib/ngrokapi/services/ssh_credentials_client.rb +11 -40
  253. data/lib/ngrokapi/services/ssh_host_certificates_client.rb +11 -41
  254. data/lib/ngrokapi/services/ssh_user_certificates_client.rb +11 -43
  255. data/lib/ngrokapi/services/tls_certificates_client.rb +11 -38
  256. data/lib/ngrokapi/services/tunnel_sessions_client.rb +12 -36
  257. data/lib/ngrokapi/services/tunnels_client.rb +4 -10
  258. data/lib/ngrokapi/version.rb +1 -1
  259. data/lib/ngrokapi.rb +1 -1
  260. data/ngrok-api.gemspec +1 -1
  261. data/spec/ngrokapi/client_spec.rb +6 -6
  262. data/spec/ngrokapi/models/agent_ingress_spec.rb +42 -0
  263. data/spec/ngrokapi/services/{ip_whitelist_client_spec.rb → agent_ingresses_client_spec.rb} +49 -49
  264. data/spec/spec_helper.rb +1096 -1045
  265. metadata +10 -10
  266. 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
- before_id: nil,
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
- before_id: nil,
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,