ngrok-api 0.25.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile.lock +1 -1
  4. data/doc/NgrokAPI/Client.html +1 -1
  5. data/doc/NgrokAPI/Error.html +1 -1
  6. data/doc/NgrokAPI/Errors/NotFoundError.html +1 -1
  7. data/doc/NgrokAPI/Errors.html +1 -1
  8. data/doc/NgrokAPI/HttpClient.html +1 -1
  9. data/doc/NgrokAPI/Models/APIKey.html +1 -1
  10. data/doc/NgrokAPI/Models/AWSAuth.html +1 -1
  11. data/doc/NgrokAPI/Models/AWSCredentials.html +1 -1
  12. data/doc/NgrokAPI/Models/AWSRole.html +1 -1
  13. data/doc/NgrokAPI/Models/AbuseReport.html +1 -1
  14. data/doc/NgrokAPI/Models/AbuseReportHostname.html +1 -1
  15. data/doc/NgrokAPI/Models/AgentIngress.html +1 -1
  16. data/doc/NgrokAPI/Models/AgentIngressCertJob.html +1 -1
  17. data/doc/NgrokAPI/Models/AgentIngressCertPolicy.html +1 -1
  18. data/doc/NgrokAPI/Models/AgentIngressCertStatus.html +1 -1
  19. data/doc/NgrokAPI/Models/ApplicationSession.html +1 -1
  20. data/doc/NgrokAPI/Models/ApplicationUser.html +1 -1
  21. data/doc/NgrokAPI/Models/BotUser.html +1 -1
  22. data/doc/NgrokAPI/Models/BrowserSession.html +1 -1
  23. data/doc/NgrokAPI/Models/CertificateAuthority.html +1 -1
  24. data/doc/NgrokAPI/Models/Credential.html +1 -1
  25. data/doc/NgrokAPI/Models/Endpoint.html +1 -1
  26. data/doc/NgrokAPI/Models/EndpointBackend.html +1 -1
  27. data/doc/NgrokAPI/Models/EndpointBackendMutate.html +1 -1
  28. data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +1 -1
  29. data/doc/NgrokAPI/Models/EndpointCompression.html +1 -1
  30. data/doc/NgrokAPI/Models/EndpointIPPolicy.html +1 -1
  31. data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +1 -1
  32. data/doc/NgrokAPI/Models/EndpointMutualTLS.html +1 -1
  33. data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +1 -1
  34. data/doc/NgrokAPI/Models/EndpointOAuth.html +1 -1
  35. data/doc/NgrokAPI/Models/EndpointOAuthAmazon.html +1 -1
  36. data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +1 -1
  37. data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +1 -1
  38. data/doc/NgrokAPI/Models/EndpointOAuthGitLab.html +1 -1
  39. data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +1 -1
  40. data/doc/NgrokAPI/Models/EndpointOAuthLinkedIn.html +1 -1
  41. data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +1 -1
  42. data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +1 -1
  43. data/doc/NgrokAPI/Models/EndpointOAuthTwitch.html +1 -1
  44. data/doc/NgrokAPI/Models/EndpointOIDC.html +1 -1
  45. data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +1 -1
  46. data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +1 -1
  47. data/doc/NgrokAPI/Models/EndpointSAML.html +1 -1
  48. data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +1 -1
  49. data/doc/NgrokAPI/Models/EndpointTLSTermination.html +1 -1
  50. data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +1 -1
  51. data/doc/NgrokAPI/Models/EndpointTrafficPolicy.html +1 -1
  52. data/doc/NgrokAPI/Models/EndpointUserAgentFilter.html +1 -1
  53. data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +1 -1
  54. data/doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +1 -1
  55. data/doc/NgrokAPI/Models/EventDestination.html +1 -1
  56. data/doc/NgrokAPI/Models/EventSource.html +1 -1
  57. data/doc/NgrokAPI/Models/EventSourceList.html +1 -1
  58. data/doc/NgrokAPI/Models/EventSourceReplace.html +1 -1
  59. data/doc/NgrokAPI/Models/EventSubscription.html +1 -1
  60. data/doc/NgrokAPI/Models/EventTarget.html +1 -1
  61. data/doc/NgrokAPI/Models/EventTargetAzureLogsIngestion.html +1 -1
  62. data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +1 -1
  63. data/doc/NgrokAPI/Models/EventTargetDatadog.html +1 -1
  64. data/doc/NgrokAPI/Models/EventTargetFirehose.html +1 -1
  65. data/doc/NgrokAPI/Models/EventTargetKinesis.html +1 -1
  66. data/doc/NgrokAPI/Models/FailoverBackend.html +1 -1
  67. data/doc/NgrokAPI/Models/HTTPResponseBackend.html +1 -1
  68. data/doc/NgrokAPI/Models/HTTPSEdge.html +1 -1
  69. data/doc/NgrokAPI/Models/HTTPSEdgeRoute.html +1 -1
  70. data/doc/NgrokAPI/Models/IPPolicy.html +1 -1
  71. data/doc/NgrokAPI/Models/IPPolicyRule.html +1 -1
  72. data/doc/NgrokAPI/Models/IPRestriction.html +1 -1
  73. data/doc/NgrokAPI/Models/IdentityProvider.html +1 -1
  74. data/doc/NgrokAPI/Models/Listable.html +1 -1
  75. data/doc/NgrokAPI/Models/Location.html +1 -1
  76. data/doc/NgrokAPI/Models/Ref.html +1 -1
  77. data/doc/NgrokAPI/Models/ReservedAddr.html +1 -1
  78. data/doc/NgrokAPI/Models/ReservedDomain.html +1 -1
  79. data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +1 -1
  80. data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +1 -1
  81. data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +1 -1
  82. data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +1 -1
  83. data/doc/NgrokAPI/Models/SSHCredential.html +1 -1
  84. data/doc/NgrokAPI/Models/SSHHostCertificate.html +1 -1
  85. data/doc/NgrokAPI/Models/SSHUserCertificate.html +1 -1
  86. data/doc/NgrokAPI/Models/Secret.html +1 -1
  87. data/doc/NgrokAPI/Models/StaticBackend.html +1 -1
  88. data/doc/NgrokAPI/Models/StaticBackendTLS.html +1 -1
  89. data/doc/NgrokAPI/Models/TCPEdge.html +1 -1
  90. data/doc/NgrokAPI/Models/TLSCertificate.html +1 -1
  91. data/doc/NgrokAPI/Models/TLSCertificateSANs.html +1 -1
  92. data/doc/NgrokAPI/Models/TLSEdge.html +1 -1
  93. data/doc/NgrokAPI/Models/Tunnel.html +1 -1
  94. data/doc/NgrokAPI/Models/TunnelGroupBackend.html +1 -1
  95. data/doc/NgrokAPI/Models/TunnelSession.html +1 -1
  96. data/doc/NgrokAPI/Models/UserAgent.html +1 -1
  97. data/doc/NgrokAPI/Models/Vault.html +1 -1
  98. data/doc/NgrokAPI/Models/WeightedBackend.html +1 -1
  99. data/doc/NgrokAPI/Models.html +1 -1
  100. data/doc/NgrokAPI/PagedIterator.html +1 -1
  101. data/doc/NgrokAPI/Services/APIKeysClient.html +46 -30
  102. data/doc/NgrokAPI/Services/AbuseReportsClient.html +1 -1
  103. data/doc/NgrokAPI/Services/AgentIngressesClient.html +46 -30
  104. data/doc/NgrokAPI/Services/ApplicationSessionsClient.html +26 -10
  105. data/doc/NgrokAPI/Services/ApplicationUsersClient.html +26 -10
  106. data/doc/NgrokAPI/Services/BotUsersClient.html +46 -30
  107. data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +46 -30
  108. data/doc/NgrokAPI/Services/CredentialsClient.html +46 -30
  109. data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +1 -1
  110. data/doc/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +1 -1
  111. data/doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +1 -1
  112. data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +1 -1
  113. data/doc/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +1 -1
  114. data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +1 -1
  115. data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +1 -1
  116. data/doc/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +1 -1
  117. data/doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +1 -1
  118. data/doc/NgrokAPI/Services/EdgeRouteTrafficPolicyModuleClient.html +1 -1
  119. data/doc/NgrokAPI/Services/EdgeRouteUserAgentFilterModuleClient.html +1 -1
  120. data/doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +1 -1
  121. data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +1 -1
  122. data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +62 -46
  123. data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +1 -1
  124. data/doc/NgrokAPI/Services/EdgesTCPClient.html +62 -46
  125. data/doc/NgrokAPI/Services/EdgesTLSClient.html +62 -46
  126. data/doc/NgrokAPI/Services/EndpointsClient.html +97 -81
  127. data/doc/NgrokAPI/Services/EventDestinationsClient.html +46 -30
  128. data/doc/NgrokAPI/Services/EventSourcesClient.html +1 -1
  129. data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +46 -30
  130. data/doc/NgrokAPI/Services/FailoverBackendsClient.html +46 -30
  131. data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +46 -30
  132. data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +1 -1
  133. data/doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +1 -1
  134. data/doc/NgrokAPI/Services/IPPoliciesClient.html +46 -30
  135. data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +46 -30
  136. data/doc/NgrokAPI/Services/IPRestrictionsClient.html +46 -30
  137. data/doc/NgrokAPI/Services/ReservedAddrsClient.html +46 -30
  138. data/doc/NgrokAPI/Services/ReservedDomainsClient.html +78 -62
  139. data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +46 -30
  140. data/doc/NgrokAPI/Services/SSHCredentialsClient.html +46 -30
  141. data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +46 -30
  142. data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +46 -30
  143. data/doc/NgrokAPI/Services/SecretsClient.html +26 -10
  144. data/doc/NgrokAPI/Services/StaticBackendsClient.html +46 -30
  145. data/doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +1 -1
  146. data/doc/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +1 -1
  147. data/doc/NgrokAPI/Services/TCPEdgeTrafficPolicyModuleClient.html +1 -1
  148. data/doc/NgrokAPI/Services/TLSCertificatesClient.html +46 -30
  149. data/doc/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +1 -1
  150. data/doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +1 -1
  151. data/doc/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +1 -1
  152. data/doc/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +1 -1
  153. data/doc/NgrokAPI/Services/TLSEdgeTrafficPolicyModuleClient.html +1 -1
  154. data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +46 -30
  155. data/doc/NgrokAPI/Services/TunnelSessionsClient.html +94 -78
  156. data/doc/NgrokAPI/Services/TunnelsClient.html +46 -30
  157. data/doc/NgrokAPI/Services/VaultsClient.html +438 -28
  158. data/doc/NgrokAPI/Services/WeightedBackendsClient.html +46 -30
  159. data/doc/NgrokAPI/Services.html +1 -1
  160. data/doc/NgrokAPI.html +1 -1
  161. data/doc/_index.html +1 -1
  162. data/doc/file.README.html +1 -1
  163. data/doc/index.html +1 -1
  164. data/doc/method_list.html +16 -0
  165. data/doc/top-level-namespace.html +1 -1
  166. data/docs/NgrokAPI/Client.html +1 -1
  167. data/docs/NgrokAPI/Error.html +1 -1
  168. data/docs/NgrokAPI/Errors/NotFoundError.html +1 -1
  169. data/docs/NgrokAPI/Errors.html +1 -1
  170. data/docs/NgrokAPI/HttpClient.html +1 -1
  171. data/docs/NgrokAPI/Models/APIKey.html +1 -1
  172. data/docs/NgrokAPI/Models/AWSAuth.html +1 -1
  173. data/docs/NgrokAPI/Models/AWSCredentials.html +1 -1
  174. data/docs/NgrokAPI/Models/AWSRole.html +1 -1
  175. data/docs/NgrokAPI/Models/AbuseReport.html +1 -1
  176. data/docs/NgrokAPI/Models/AbuseReportHostname.html +1 -1
  177. data/docs/NgrokAPI/Models/AgentIngress.html +1 -1
  178. data/docs/NgrokAPI/Models/AgentIngressCertJob.html +1 -1
  179. data/docs/NgrokAPI/Models/AgentIngressCertPolicy.html +1 -1
  180. data/docs/NgrokAPI/Models/AgentIngressCertStatus.html +1 -1
  181. data/docs/NgrokAPI/Models/ApplicationSession.html +1 -1
  182. data/docs/NgrokAPI/Models/ApplicationUser.html +1 -1
  183. data/docs/NgrokAPI/Models/BotUser.html +1 -1
  184. data/docs/NgrokAPI/Models/BrowserSession.html +1 -1
  185. data/docs/NgrokAPI/Models/CertificateAuthority.html +1 -1
  186. data/docs/NgrokAPI/Models/Credential.html +1 -1
  187. data/docs/NgrokAPI/Models/Endpoint.html +1 -1
  188. data/docs/NgrokAPI/Models/EndpointBackend.html +1 -1
  189. data/docs/NgrokAPI/Models/EndpointBackendMutate.html +1 -1
  190. data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +1 -1
  191. data/docs/NgrokAPI/Models/EndpointCompression.html +1 -1
  192. data/docs/NgrokAPI/Models/EndpointIPPolicy.html +1 -1
  193. data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +1 -1
  194. data/docs/NgrokAPI/Models/EndpointMutualTLS.html +1 -1
  195. data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +1 -1
  196. data/docs/NgrokAPI/Models/EndpointOAuth.html +1 -1
  197. data/docs/NgrokAPI/Models/EndpointOAuthAmazon.html +1 -1
  198. data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +1 -1
  199. data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +1 -1
  200. data/docs/NgrokAPI/Models/EndpointOAuthGitLab.html +1 -1
  201. data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +1 -1
  202. data/docs/NgrokAPI/Models/EndpointOAuthLinkedIn.html +1 -1
  203. data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +1 -1
  204. data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +1 -1
  205. data/docs/NgrokAPI/Models/EndpointOAuthTwitch.html +1 -1
  206. data/docs/NgrokAPI/Models/EndpointOIDC.html +1 -1
  207. data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +1 -1
  208. data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +1 -1
  209. data/docs/NgrokAPI/Models/EndpointSAML.html +1 -1
  210. data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +1 -1
  211. data/docs/NgrokAPI/Models/EndpointTLSTermination.html +1 -1
  212. data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +1 -1
  213. data/docs/NgrokAPI/Models/EndpointTrafficPolicy.html +1 -1
  214. data/docs/NgrokAPI/Models/EndpointUserAgentFilter.html +1 -1
  215. data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +1 -1
  216. data/docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +1 -1
  217. data/docs/NgrokAPI/Models/EventDestination.html +1 -1
  218. data/docs/NgrokAPI/Models/EventSource.html +1 -1
  219. data/docs/NgrokAPI/Models/EventSourceList.html +1 -1
  220. data/docs/NgrokAPI/Models/EventSourceReplace.html +1 -1
  221. data/docs/NgrokAPI/Models/EventSubscription.html +1 -1
  222. data/docs/NgrokAPI/Models/EventTarget.html +1 -1
  223. data/docs/NgrokAPI/Models/EventTargetAzureLogsIngestion.html +1 -1
  224. data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +1 -1
  225. data/docs/NgrokAPI/Models/EventTargetDatadog.html +1 -1
  226. data/docs/NgrokAPI/Models/EventTargetFirehose.html +1 -1
  227. data/docs/NgrokAPI/Models/EventTargetKinesis.html +1 -1
  228. data/docs/NgrokAPI/Models/FailoverBackend.html +1 -1
  229. data/docs/NgrokAPI/Models/HTTPResponseBackend.html +1 -1
  230. data/docs/NgrokAPI/Models/HTTPSEdge.html +1 -1
  231. data/docs/NgrokAPI/Models/HTTPSEdgeRoute.html +1 -1
  232. data/docs/NgrokAPI/Models/IPPolicy.html +1 -1
  233. data/docs/NgrokAPI/Models/IPPolicyRule.html +1 -1
  234. data/docs/NgrokAPI/Models/IPRestriction.html +1 -1
  235. data/docs/NgrokAPI/Models/IdentityProvider.html +1 -1
  236. data/docs/NgrokAPI/Models/Listable.html +1 -1
  237. data/docs/NgrokAPI/Models/Location.html +1 -1
  238. data/docs/NgrokAPI/Models/Ref.html +1 -1
  239. data/docs/NgrokAPI/Models/ReservedAddr.html +1 -1
  240. data/docs/NgrokAPI/Models/ReservedDomain.html +1 -1
  241. data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +1 -1
  242. data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +1 -1
  243. data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +1 -1
  244. data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +1 -1
  245. data/docs/NgrokAPI/Models/SSHCredential.html +1 -1
  246. data/docs/NgrokAPI/Models/SSHHostCertificate.html +1 -1
  247. data/docs/NgrokAPI/Models/SSHUserCertificate.html +1 -1
  248. data/docs/NgrokAPI/Models/Secret.html +1 -1
  249. data/docs/NgrokAPI/Models/StaticBackend.html +1 -1
  250. data/docs/NgrokAPI/Models/StaticBackendTLS.html +1 -1
  251. data/docs/NgrokAPI/Models/TCPEdge.html +1 -1
  252. data/docs/NgrokAPI/Models/TLSCertificate.html +1 -1
  253. data/docs/NgrokAPI/Models/TLSCertificateSANs.html +1 -1
  254. data/docs/NgrokAPI/Models/TLSEdge.html +1 -1
  255. data/docs/NgrokAPI/Models/Tunnel.html +1 -1
  256. data/docs/NgrokAPI/Models/TunnelGroupBackend.html +1 -1
  257. data/docs/NgrokAPI/Models/TunnelSession.html +1 -1
  258. data/docs/NgrokAPI/Models/UserAgent.html +1 -1
  259. data/docs/NgrokAPI/Models/Vault.html +1 -1
  260. data/docs/NgrokAPI/Models/WeightedBackend.html +1 -1
  261. data/docs/NgrokAPI/Models.html +1 -1
  262. data/docs/NgrokAPI/PagedIterator.html +1 -1
  263. data/docs/NgrokAPI/Services/APIKeysClient.html +46 -30
  264. data/docs/NgrokAPI/Services/AbuseReportsClient.html +1 -1
  265. data/docs/NgrokAPI/Services/AgentIngressesClient.html +46 -30
  266. data/docs/NgrokAPI/Services/ApplicationSessionsClient.html +26 -10
  267. data/docs/NgrokAPI/Services/ApplicationUsersClient.html +26 -10
  268. data/docs/NgrokAPI/Services/BotUsersClient.html +46 -30
  269. data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +46 -30
  270. data/docs/NgrokAPI/Services/CredentialsClient.html +46 -30
  271. data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +1 -1
  272. data/docs/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +1 -1
  273. data/docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +1 -1
  274. data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +1 -1
  275. data/docs/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +1 -1
  276. data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +1 -1
  277. data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +1 -1
  278. data/docs/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +1 -1
  279. data/docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +1 -1
  280. data/docs/NgrokAPI/Services/EdgeRouteTrafficPolicyModuleClient.html +1 -1
  281. data/docs/NgrokAPI/Services/EdgeRouteUserAgentFilterModuleClient.html +1 -1
  282. data/docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +1 -1
  283. data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +1 -1
  284. data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +62 -46
  285. data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +1 -1
  286. data/docs/NgrokAPI/Services/EdgesTCPClient.html +62 -46
  287. data/docs/NgrokAPI/Services/EdgesTLSClient.html +62 -46
  288. data/docs/NgrokAPI/Services/EndpointsClient.html +97 -81
  289. data/docs/NgrokAPI/Services/EventDestinationsClient.html +46 -30
  290. data/docs/NgrokAPI/Services/EventSourcesClient.html +1 -1
  291. data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +46 -30
  292. data/docs/NgrokAPI/Services/FailoverBackendsClient.html +46 -30
  293. data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +46 -30
  294. data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +1 -1
  295. data/docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +1 -1
  296. data/docs/NgrokAPI/Services/IPPoliciesClient.html +46 -30
  297. data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +46 -30
  298. data/docs/NgrokAPI/Services/IPRestrictionsClient.html +46 -30
  299. data/docs/NgrokAPI/Services/ReservedAddrsClient.html +46 -30
  300. data/docs/NgrokAPI/Services/ReservedDomainsClient.html +78 -62
  301. data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +46 -30
  302. data/docs/NgrokAPI/Services/SSHCredentialsClient.html +46 -30
  303. data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +46 -30
  304. data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +46 -30
  305. data/docs/NgrokAPI/Services/SecretsClient.html +26 -10
  306. data/docs/NgrokAPI/Services/StaticBackendsClient.html +46 -30
  307. data/docs/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +1 -1
  308. data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +1 -1
  309. data/docs/NgrokAPI/Services/TCPEdgeTrafficPolicyModuleClient.html +1 -1
  310. data/docs/NgrokAPI/Services/TLSCertificatesClient.html +46 -30
  311. data/docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +1 -1
  312. data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +1 -1
  313. data/docs/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +1 -1
  314. data/docs/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +1 -1
  315. data/docs/NgrokAPI/Services/TLSEdgeTrafficPolicyModuleClient.html +1 -1
  316. data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +46 -30
  317. data/docs/NgrokAPI/Services/TunnelSessionsClient.html +94 -78
  318. data/docs/NgrokAPI/Services/TunnelsClient.html +46 -30
  319. data/docs/NgrokAPI/Services/VaultsClient.html +438 -28
  320. data/docs/NgrokAPI/Services/WeightedBackendsClient.html +46 -30
  321. data/docs/NgrokAPI/Services.html +1 -1
  322. data/docs/NgrokAPI.html +1 -1
  323. data/docs/_index.html +1 -1
  324. data/docs/file.README.html +1 -1
  325. data/docs/index.html +1 -1
  326. data/docs/method_list.html +16 -0
  327. data/docs/top-level-namespace.html +1 -1
  328. data/lib/ngrokapi/services/agent_ingresses_client.rb +10 -2
  329. data/lib/ngrokapi/services/api_keys_client.rb +10 -2
  330. data/lib/ngrokapi/services/application_sessions_client.rb +10 -2
  331. data/lib/ngrokapi/services/application_users_client.rb +10 -2
  332. data/lib/ngrokapi/services/bot_users_client.rb +10 -2
  333. data/lib/ngrokapi/services/certificate_authorities_client.rb +10 -2
  334. data/lib/ngrokapi/services/credentials_client.rb +10 -2
  335. data/lib/ngrokapi/services/edges_https_client.rb +10 -2
  336. data/lib/ngrokapi/services/edges_tcp_client.rb +10 -2
  337. data/lib/ngrokapi/services/edges_tls_client.rb +10 -2
  338. data/lib/ngrokapi/services/endpoints_client.rb +18 -10
  339. data/lib/ngrokapi/services/event_destinations_client.rb +10 -2
  340. data/lib/ngrokapi/services/event_subscriptions_client.rb +10 -2
  341. data/lib/ngrokapi/services/failover_backends_client.rb +10 -2
  342. data/lib/ngrokapi/services/http_response_backends_client.rb +10 -2
  343. data/lib/ngrokapi/services/ip_policies_client.rb +10 -2
  344. data/lib/ngrokapi/services/ip_policy_rules_client.rb +10 -2
  345. data/lib/ngrokapi/services/ip_restrictions_client.rb +10 -2
  346. data/lib/ngrokapi/services/reserved_addrs_client.rb +10 -2
  347. data/lib/ngrokapi/services/reserved_domains_client.rb +10 -2
  348. data/lib/ngrokapi/services/secrets_client.rb +10 -2
  349. data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +10 -2
  350. data/lib/ngrokapi/services/ssh_credentials_client.rb +10 -2
  351. data/lib/ngrokapi/services/ssh_host_certificates_client.rb +10 -2
  352. data/lib/ngrokapi/services/ssh_user_certificates_client.rb +10 -2
  353. data/lib/ngrokapi/services/static_backends_client.rb +10 -2
  354. data/lib/ngrokapi/services/tls_certificates_client.rb +10 -2
  355. data/lib/ngrokapi/services/tunnel_group_backends_client.rb +10 -2
  356. data/lib/ngrokapi/services/tunnel_sessions_client.rb +10 -2
  357. data/lib/ngrokapi/services/tunnels_client.rb +10 -2
  358. data/lib/ngrokapi/services/vaults_client.rb +85 -2
  359. data/lib/ngrokapi/services/weighted_backends_client.rb +10 -2
  360. data/lib/ngrokapi/version.rb +1 -1
  361. data/spec/ngrokapi/services/vaults_client_spec.rb +15 -0
  362. data/spec/spec_helper.rb +6 -0
  363. metadata +1 -1
@@ -143,7 +143,11 @@ module NgrokAPI
143
143
  # @return [NgrokAPI::Models::Listable] result from the API request
144
144
  #
145
145
  # https://ngrok.com/docs/api#api-ip-policies-list
146
- def list(before_id: nil, limit: nil, url: nil)
146
+ def list(
147
+ before_id: nil,
148
+ limit: nil,
149
+ url: nil
150
+ )
147
151
  result = @client.list(
148
152
  before_id: before_id,
149
153
  limit: limit,
@@ -169,7 +173,11 @@ module NgrokAPI
169
173
  # @return [NgrokAPI::Models::Listable] result from the API request
170
174
  #
171
175
  # https://ngrok.com/docs/api#api-ip-policies-list
172
- def list!(before_id: nil, limit: nil, url: nil)
176
+ def list!(
177
+ before_id: nil,
178
+ limit: nil,
179
+ url: nil
180
+ )
173
181
  result = @client.list(
174
182
  before_id: before_id,
175
183
  limit: limit,
@@ -147,7 +147,11 @@ module NgrokAPI
147
147
  # @return [NgrokAPI::Models::Listable] result from the API request
148
148
  #
149
149
  # https://ngrok.com/docs/api#api-ip-policy-rules-list
150
- def list(before_id: nil, limit: nil, url: nil)
150
+ def list(
151
+ before_id: nil,
152
+ limit: nil,
153
+ url: nil
154
+ )
151
155
  result = @client.list(
152
156
  before_id: before_id,
153
157
  limit: limit,
@@ -173,7 +177,11 @@ module NgrokAPI
173
177
  # @return [NgrokAPI::Models::Listable] result from the API request
174
178
  #
175
179
  # https://ngrok.com/docs/api#api-ip-policy-rules-list
176
- def list!(before_id: nil, limit: nil, url: nil)
180
+ def list!(
181
+ before_id: nil,
182
+ limit: nil,
183
+ url: nil
184
+ )
177
185
  result = @client.list(
178
186
  before_id: before_id,
179
187
  limit: limit,
@@ -151,7 +151,11 @@ module NgrokAPI
151
151
  # @return [NgrokAPI::Models::Listable] result from the API request
152
152
  #
153
153
  # https://ngrok.com/docs/api#api-ip-restrictions-list
154
- def list(before_id: nil, limit: nil, url: nil)
154
+ def list(
155
+ before_id: nil,
156
+ limit: nil,
157
+ url: nil
158
+ )
155
159
  result = @client.list(
156
160
  before_id: before_id,
157
161
  limit: limit,
@@ -177,7 +181,11 @@ module NgrokAPI
177
181
  # @return [NgrokAPI::Models::Listable] result from the API request
178
182
  #
179
183
  # https://ngrok.com/docs/api#api-ip-restrictions-list
180
- def list!(before_id: nil, limit: nil, url: nil)
184
+ def list!(
185
+ before_id: nil,
186
+ limit: nil,
187
+ url: nil
188
+ )
181
189
  result = @client.list(
182
190
  before_id: before_id,
183
191
  limit: limit,
@@ -140,7 +140,11 @@ module NgrokAPI
140
140
  # @return [NgrokAPI::Models::Listable] result from the API request
141
141
  #
142
142
  # https://ngrok.com/docs/api#api-reserved-addrs-list
143
- def list(before_id: nil, limit: nil, url: nil)
143
+ def list(
144
+ before_id: nil,
145
+ limit: nil,
146
+ url: nil
147
+ )
144
148
  result = @client.list(
145
149
  before_id: before_id,
146
150
  limit: limit,
@@ -166,7 +170,11 @@ module NgrokAPI
166
170
  # @return [NgrokAPI::Models::Listable] result from the API request
167
171
  #
168
172
  # https://ngrok.com/docs/api#api-reserved-addrs-list
169
- def list!(before_id: nil, limit: nil, url: nil)
173
+ def list!(
174
+ before_id: nil,
175
+ limit: nil,
176
+ url: nil
177
+ )
170
178
  result = @client.list(
171
179
  before_id: before_id,
172
180
  limit: limit,
@@ -153,7 +153,11 @@ module NgrokAPI
153
153
  # @return [NgrokAPI::Models::Listable] result from the API request
154
154
  #
155
155
  # https://ngrok.com/docs/api#api-reserved-domains-list
156
- def list(before_id: nil, limit: nil, url: nil)
156
+ def list(
157
+ before_id: nil,
158
+ limit: nil,
159
+ url: nil
160
+ )
157
161
  result = @client.list(
158
162
  before_id: before_id,
159
163
  limit: limit,
@@ -179,7 +183,11 @@ module NgrokAPI
179
183
  # @return [NgrokAPI::Models::Listable] result from the API request
180
184
  #
181
185
  # https://ngrok.com/docs/api#api-reserved-domains-list
182
- def list!(before_id: nil, limit: nil, url: nil)
186
+ def list!(
187
+ before_id: nil,
188
+ limit: nil,
189
+ url: nil
190
+ )
183
191
  result = @client.list(
184
192
  before_id: before_id,
185
193
  limit: limit,
@@ -198,7 +198,11 @@ module NgrokAPI
198
198
  # @return [NgrokAPI::Models::Listable] result from the API request
199
199
  #
200
200
  # https://ngrok.com/docs/api#api-secrets-list
201
- def list(before_id: nil, limit: nil, url: nil)
201
+ def list(
202
+ before_id: nil,
203
+ limit: nil,
204
+ url: nil
205
+ )
202
206
  result = @client.list(
203
207
  before_id: before_id,
204
208
  limit: limit,
@@ -224,7 +228,11 @@ module NgrokAPI
224
228
  # @return [NgrokAPI::Models::Listable] result from the API request
225
229
  #
226
230
  # https://ngrok.com/docs/api#api-secrets-list
227
- def list!(before_id: nil, limit: nil, url: nil)
231
+ def list!(
232
+ before_id: nil,
233
+ limit: nil,
234
+ url: nil
235
+ )
228
236
  result = @client.list(
229
237
  before_id: before_id,
230
238
  limit: limit,
@@ -147,7 +147,11 @@ module NgrokAPI
147
147
  # @return [NgrokAPI::Models::Listable] result from the API request
148
148
  #
149
149
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-list
150
- def list(before_id: nil, limit: nil, url: nil)
150
+ def list(
151
+ before_id: nil,
152
+ limit: nil,
153
+ url: nil
154
+ )
151
155
  result = @client.list(
152
156
  before_id: before_id,
153
157
  limit: limit,
@@ -173,7 +177,11 @@ module NgrokAPI
173
177
  # @return [NgrokAPI::Models::Listable] result from the API request
174
178
  #
175
179
  # https://ngrok.com/docs/api#api-ssh-certificate-authorities-list
176
- def list!(before_id: nil, limit: nil, url: nil)
180
+ def list!(
181
+ before_id: nil,
182
+ limit: nil,
183
+ url: nil
184
+ )
177
185
  result = @client.list(
178
186
  before_id: before_id,
179
187
  limit: limit,
@@ -149,7 +149,11 @@ module NgrokAPI
149
149
  # @return [NgrokAPI::Models::Listable] result from the API request
150
150
  #
151
151
  # https://ngrok.com/docs/api#api-ssh-credentials-list
152
- def list(before_id: nil, limit: nil, url: nil)
152
+ def list(
153
+ before_id: nil,
154
+ limit: nil,
155
+ url: nil
156
+ )
153
157
  result = @client.list(
154
158
  before_id: before_id,
155
159
  limit: limit,
@@ -175,7 +179,11 @@ module NgrokAPI
175
179
  # @return [NgrokAPI::Models::Listable] result from the API request
176
180
  #
177
181
  # https://ngrok.com/docs/api#api-ssh-credentials-list
178
- def list!(before_id: nil, limit: nil, url: nil)
182
+ def list!(
183
+ before_id: nil,
184
+ limit: nil,
185
+ url: nil
186
+ )
179
187
  result = @client.list(
180
188
  before_id: before_id,
181
189
  limit: limit,
@@ -156,7 +156,11 @@ module NgrokAPI
156
156
  # @return [NgrokAPI::Models::Listable] result from the API request
157
157
  #
158
158
  # https://ngrok.com/docs/api#api-ssh-host-certificates-list
159
- def list(before_id: nil, limit: nil, url: nil)
159
+ def list(
160
+ before_id: nil,
161
+ limit: nil,
162
+ url: nil
163
+ )
160
164
  result = @client.list(
161
165
  before_id: before_id,
162
166
  limit: limit,
@@ -182,7 +186,11 @@ module NgrokAPI
182
186
  # @return [NgrokAPI::Models::Listable] result from the API request
183
187
  #
184
188
  # https://ngrok.com/docs/api#api-ssh-host-certificates-list
185
- def list!(before_id: nil, limit: nil, url: nil)
189
+ def list!(
190
+ before_id: nil,
191
+ limit: nil,
192
+ url: nil
193
+ )
186
194
  result = @client.list(
187
195
  before_id: before_id,
188
196
  limit: limit,
@@ -164,7 +164,11 @@ module NgrokAPI
164
164
  # @return [NgrokAPI::Models::Listable] result from the API request
165
165
  #
166
166
  # https://ngrok.com/docs/api#api-ssh-user-certificates-list
167
- def list(before_id: nil, limit: nil, url: nil)
167
+ def list(
168
+ before_id: nil,
169
+ limit: nil,
170
+ url: nil
171
+ )
168
172
  result = @client.list(
169
173
  before_id: before_id,
170
174
  limit: limit,
@@ -190,7 +194,11 @@ module NgrokAPI
190
194
  # @return [NgrokAPI::Models::Listable] result from the API request
191
195
  #
192
196
  # https://ngrok.com/docs/api#api-ssh-user-certificates-list
193
- def list!(before_id: nil, limit: nil, url: nil)
197
+ def list!(
198
+ before_id: nil,
199
+ limit: nil,
200
+ url: nil
201
+ )
194
202
  result = @client.list(
195
203
  before_id: before_id,
196
204
  limit: limit,
@@ -143,7 +143,11 @@ module NgrokAPI
143
143
  # @return [NgrokAPI::Models::Listable] result from the API request
144
144
  #
145
145
  # https://ngrok.com/docs/api#api-static-backends-list
146
- def list(before_id: nil, limit: nil, url: nil)
146
+ def list(
147
+ before_id: nil,
148
+ limit: nil,
149
+ url: nil
150
+ )
147
151
  result = @client.list(
148
152
  before_id: before_id,
149
153
  limit: limit,
@@ -169,7 +173,11 @@ module NgrokAPI
169
173
  # @return [NgrokAPI::Models::Listable] result from the API request
170
174
  #
171
175
  # https://ngrok.com/docs/api#api-static-backends-list
172
- def list!(before_id: nil, limit: nil, url: nil)
176
+ def list!(
177
+ before_id: nil,
178
+ limit: nil,
179
+ url: nil
180
+ )
173
181
  result = @client.list(
174
182
  before_id: before_id,
175
183
  limit: limit,
@@ -146,7 +146,11 @@ module NgrokAPI
146
146
  # @return [NgrokAPI::Models::Listable] result from the API request
147
147
  #
148
148
  # https://ngrok.com/docs/api#api-tls-certificates-list
149
- def list(before_id: nil, limit: nil, url: nil)
149
+ def list(
150
+ before_id: nil,
151
+ limit: nil,
152
+ url: nil
153
+ )
150
154
  result = @client.list(
151
155
  before_id: before_id,
152
156
  limit: limit,
@@ -172,7 +176,11 @@ module NgrokAPI
172
176
  # @return [NgrokAPI::Models::Listable] result from the API request
173
177
  #
174
178
  # https://ngrok.com/docs/api#api-tls-certificates-list
175
- def list!(before_id: nil, limit: nil, url: nil)
179
+ def list!(
180
+ before_id: nil,
181
+ limit: nil,
182
+ url: nil
183
+ )
176
184
  result = @client.list(
177
185
  before_id: before_id,
178
186
  limit: limit,
@@ -139,7 +139,11 @@ module NgrokAPI
139
139
  # @return [NgrokAPI::Models::Listable] result from the API request
140
140
  #
141
141
  # https://ngrok.com/docs/api#api-tunnel-group-backends-list
142
- def list(before_id: nil, limit: nil, url: nil)
142
+ def list(
143
+ before_id: nil,
144
+ limit: nil,
145
+ url: nil
146
+ )
143
147
  result = @client.list(
144
148
  before_id: before_id,
145
149
  limit: limit,
@@ -165,7 +169,11 @@ module NgrokAPI
165
169
  # @return [NgrokAPI::Models::Listable] result from the API request
166
170
  #
167
171
  # https://ngrok.com/docs/api#api-tunnel-group-backends-list
168
- def list!(before_id: nil, limit: nil, url: nil)
172
+ def list!(
173
+ before_id: nil,
174
+ limit: nil,
175
+ url: nil
176
+ )
169
177
  result = @client.list(
170
178
  before_id: before_id,
171
179
  limit: limit,
@@ -31,7 +31,11 @@ module NgrokAPI
31
31
  # @return [NgrokAPI::Models::Listable] result from the API request
32
32
  #
33
33
  # https://ngrok.com/docs/api#api-tunnel-sessions-list
34
- def list(before_id: nil, limit: nil, url: nil)
34
+ def list(
35
+ before_id: nil,
36
+ limit: nil,
37
+ url: nil
38
+ )
35
39
  result = @client.list(
36
40
  before_id: before_id,
37
41
  limit: limit,
@@ -57,7 +61,11 @@ module NgrokAPI
57
61
  # @return [NgrokAPI::Models::Listable] result from the API request
58
62
  #
59
63
  # https://ngrok.com/docs/api#api-tunnel-sessions-list
60
- def list!(before_id: nil, limit: nil, url: nil)
64
+ def list!(
65
+ before_id: nil,
66
+ limit: nil,
67
+ url: nil
68
+ )
61
69
  result = @client.list(
62
70
  before_id: before_id,
63
71
  limit: limit,
@@ -30,7 +30,11 @@ module NgrokAPI
30
30
  # @return [NgrokAPI::Models::Listable] result from the API request
31
31
  #
32
32
  # https://ngrok.com/docs/api#api-tunnels-list
33
- def list(before_id: nil, limit: nil, url: nil)
33
+ def list(
34
+ before_id: nil,
35
+ limit: nil,
36
+ url: nil
37
+ )
34
38
  result = @client.list(
35
39
  before_id: before_id,
36
40
  limit: limit,
@@ -56,7 +60,11 @@ module NgrokAPI
56
60
  # @return [NgrokAPI::Models::Listable] result from the API request
57
61
  #
58
62
  # https://ngrok.com/docs/api#api-tunnels-list
59
- def list!(before_id: nil, limit: nil, url: nil)
63
+ def list!(
64
+ before_id: nil,
65
+ limit: nil,
66
+ url: nil
67
+ )
60
68
  result = @client.list(
61
69
  before_id: before_id,
62
70
  limit: limit,
@@ -177,6 +177,81 @@ module NgrokAPI
177
177
  NgrokAPI::Models::Vault.new(client: self, attrs: result)
178
178
  end
179
179
 
180
+ ##
181
+ # Get Secrets by Vault ID
182
+ #
183
+ # @param [string] id a resource identifier
184
+ # @param [string] before_id
185
+ # @param [string] limit
186
+ # @param [string] url optional and mutually exclusive from before_id and limit
187
+ # @return [NgrokAPI::Models::Listable] result from the API request
188
+ #
189
+ # https://ngrok.com/docs/api#api-vaults-get-secrets-by-vault
190
+ def get_secrets_by_vault(
191
+ id: "",
192
+ before_id: nil,
193
+ limit: nil,
194
+ url: nil
195
+ )
196
+ path = '/vaults/%{id}/secrets'
197
+ replacements = {
198
+ id: id,
199
+ }
200
+ result = @client.list(
201
+ id: id,
202
+ before_id: before_id,
203
+ limit: limit,
204
+ url: url,
205
+ path: path % replacements
206
+ )
207
+
208
+ NgrokAPI::Models::Listable.new(
209
+ client: self,
210
+ attrs: result,
211
+ list_property: 'secrets',
212
+ klass: NgrokAPI::Models::Secret
213
+ )
214
+ end
215
+
216
+ ##
217
+ # Get Secrets by Vault ID
218
+ # Throws an exception if API error.
219
+ #
220
+ # @param [string] id a resource identifier
221
+ # @param [string] before_id
222
+ # @param [string] limit
223
+ # @param [string] url optional and mutually exclusive from before_id and limit
224
+ # @return [NgrokAPI::Models::Listable] result from the API request
225
+ #
226
+ # https://ngrok.com/docs/api#api-vaults-get-secrets-by-vault
227
+ def get_secrets_by_vault!(
228
+ id: "",
229
+ before_id: nil,
230
+ limit: nil,
231
+ url: nil
232
+ )
233
+ path = '/vaults/%{id}/secrets'
234
+ replacements = {
235
+ id: id,
236
+ }
237
+ result = @client.list(
238
+ id: id,
239
+ before_id: before_id,
240
+ limit: limit,
241
+ danger: true,
242
+ url: url,
243
+ path: path % replacements
244
+ )
245
+
246
+ NgrokAPI::Models::Listable.new(
247
+ client: self,
248
+ attrs: result,
249
+ list_property: 'secrets',
250
+ klass: NgrokAPI::Models::Secret,
251
+ danger: true
252
+ )
253
+ end
254
+
180
255
  ##
181
256
  # List all Vaults owned by account
182
257
  #
@@ -186,7 +261,11 @@ module NgrokAPI
186
261
  # @return [NgrokAPI::Models::Listable] result from the API request
187
262
  #
188
263
  # https://ngrok.com/docs/api#api-vaults-list
189
- def list(before_id: nil, limit: nil, url: nil)
264
+ def list(
265
+ before_id: nil,
266
+ limit: nil,
267
+ url: nil
268
+ )
190
269
  result = @client.list(
191
270
  before_id: before_id,
192
271
  limit: limit,
@@ -212,7 +291,11 @@ module NgrokAPI
212
291
  # @return [NgrokAPI::Models::Listable] result from the API request
213
292
  #
214
293
  # https://ngrok.com/docs/api#api-vaults-list
215
- def list!(before_id: nil, limit: nil, url: nil)
294
+ def list!(
295
+ before_id: nil,
296
+ limit: nil,
297
+ url: nil
298
+ )
216
299
  result = @client.list(
217
300
  before_id: before_id,
218
301
  limit: limit,
@@ -141,7 +141,11 @@ module NgrokAPI
141
141
  # @return [NgrokAPI::Models::Listable] result from the API request
142
142
  #
143
143
  # https://ngrok.com/docs/api#api-weighted-backends-list
144
- def list(before_id: nil, limit: nil, url: nil)
144
+ def list(
145
+ before_id: nil,
146
+ limit: nil,
147
+ url: nil
148
+ )
145
149
  result = @client.list(
146
150
  before_id: before_id,
147
151
  limit: limit,
@@ -167,7 +171,11 @@ module NgrokAPI
167
171
  # @return [NgrokAPI::Models::Listable] result from the API request
168
172
  #
169
173
  # https://ngrok.com/docs/api#api-weighted-backends-list
170
- def list!(before_id: nil, limit: nil, url: nil)
174
+ def list!(
175
+ before_id: nil,
176
+ limit: nil,
177
+ url: nil
178
+ )
171
179
  result = @client.list(
172
180
  before_id: before_id,
173
181
  limit: limit,
@@ -4,6 +4,6 @@ module NgrokAPI
4
4
  # rubocop:disable Layout/SpaceAroundOperators
5
5
 
6
6
  # The current version of the gem
7
- VERSION="0.25.0".freeze
7
+ VERSION="0.26.0".freeze
8
8
  # rubocop:enable Layout/SpaceAroundOperators
9
9
  end
@@ -174,6 +174,21 @@ RSpec.describe NgrokAPI::Services::VaultsClient do
174
174
  end
175
175
  end
176
176
 
177
+ describe "#get_secrets_by_vault" do
178
+ it "will make a call to list (a GET request) and return a NgrokAPI::Models::Listable" do
179
+ path = '/vaults/%{id}/secrets'
180
+ replacements = {
181
+ id: vaults_get_secrets_by_vault_input["id"],
182
+ }
183
+ path = path % replacements
184
+ expect(@client).to receive(:list).
185
+ and_return(secret_results)
186
+ url = base_url + path + "?before_id=" + api_key_result["id"] + "&limit=1"
187
+ result = @vaults_client.get_secrets_by_vault(url: url)
188
+ expect(result.class).to eq(NgrokAPI::Models::Listable)
189
+ end
190
+ end
191
+
177
192
  describe "#list" do
178
193
  it "will make a call to list (a GET request) and return a NgrokAPI::Models::Listable" do
179
194
  expect(@client).to receive(:list).
data/spec/spec_helper.rb CHANGED
@@ -1655,3 +1655,9 @@ def vault_results
1655
1655
  "next_page_uri" => nil,
1656
1656
  }
1657
1657
  end
1658
+
1659
+ def vaults_get_secrets_by_vault_input
1660
+ {
1661
+ "id" => vault_result["id"],
1662
+ }
1663
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ngrok-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''