ngrok-api 0.19.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (585) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +7 -7
  3. data/.gitignore +15 -13
  4. data/.rubocop.yml +30 -28
  5. data/.rubocop_airbnb.yml +4 -2
  6. data/.simplecov +3 -1
  7. data/CHANGELOG.md +8 -0
  8. data/CODE_OF_CONDUCT.md +45 -0
  9. data/Gemfile +34 -32
  10. data/Guardfile +18 -16
  11. data/README.md +94 -88
  12. data/Rakefile +9 -7
  13. data/doc/NgrokAPI/Client.html +229 -125
  14. data/doc/NgrokAPI/Error.html +12 -12
  15. data/doc/NgrokAPI/Errors/NotFoundError.html +12 -12
  16. data/doc/NgrokAPI/Errors.html +4 -4
  17. data/doc/NgrokAPI/HttpClient.html +73 -73
  18. data/doc/NgrokAPI/Models/APIKey.html +150 -72
  19. data/doc/NgrokAPI/Models/AWSAuth.html +36 -36
  20. data/doc/NgrokAPI/Models/AWSCredentials.html +36 -36
  21. data/doc/NgrokAPI/Models/AWSRole.html +32 -32
  22. data/doc/NgrokAPI/Models/AbuseReport.html +63 -59
  23. data/doc/NgrokAPI/Models/AbuseReportHostname.html +36 -36
  24. data/doc/NgrokAPI/Models/AgentIngress.html +245 -87
  25. data/doc/NgrokAPI/Models/AgentIngressCertJob.html +817 -0
  26. data/doc/NgrokAPI/Models/AgentIngressCertPolicy.html +669 -0
  27. data/doc/NgrokAPI/Models/AgentIngressCertStatus.html +669 -0
  28. data/doc/NgrokAPI/Models/ApplicationSession.html +1414 -0
  29. data/doc/NgrokAPI/Models/ApplicationUser.html +1336 -0
  30. data/doc/NgrokAPI/Models/BrowserSession.html +743 -0
  31. data/doc/NgrokAPI/Models/CertificateAuthority.html +93 -89
  32. data/doc/NgrokAPI/Models/Credential.html +154 -76
  33. data/doc/NgrokAPI/Models/Endpoint.html +87 -83
  34. data/doc/NgrokAPI/Models/EndpointBackend.html +36 -36
  35. data/doc/NgrokAPI/Models/EndpointBackendMutate.html +36 -36
  36. data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +52 -52
  37. data/doc/NgrokAPI/Models/EndpointCompression.html +32 -32
  38. data/doc/NgrokAPI/Models/EndpointIPPolicy.html +36 -36
  39. data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +36 -36
  40. data/doc/NgrokAPI/Models/EndpointMutualTLS.html +36 -36
  41. data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +36 -36
  42. data/doc/NgrokAPI/Models/EndpointOAuth.html +56 -56
  43. data/doc/NgrokAPI/Models/EndpointOAuthAmazon.html +891 -0
  44. data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +48 -48
  45. data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +56 -56
  46. data/doc/NgrokAPI/Models/EndpointOAuthGitLab.html +891 -0
  47. data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +48 -48
  48. data/doc/NgrokAPI/Models/EndpointOAuthLinkedIn.html +891 -0
  49. data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +48 -48
  50. data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +345 -49
  51. data/doc/NgrokAPI/Models/EndpointOAuthTwitch.html +891 -0
  52. data/doc/NgrokAPI/Models/EndpointOIDC.html +64 -64
  53. data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +40 -40
  54. data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +40 -40
  55. data/doc/NgrokAPI/Models/EndpointSAML.html +114 -98
  56. data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +79 -75
  57. data/doc/NgrokAPI/Models/EndpointTLSTermination.html +40 -40
  58. data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +36 -36
  59. data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +40 -40
  60. data/doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +32 -32
  61. data/doc/NgrokAPI/Models/EventDestination.html +69 -65
  62. data/doc/NgrokAPI/Models/EventSource.html +51 -47
  63. data/doc/NgrokAPI/Models/EventSourceList.html +43 -39
  64. data/doc/NgrokAPI/Models/EventSourceReplace.html +40 -40
  65. data/doc/NgrokAPI/Models/EventSubscription.html +69 -65
  66. data/doc/NgrokAPI/Models/EventTarget.html +119 -45
  67. data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +36 -36
  68. data/doc/NgrokAPI/Models/EventTargetDatadog.html +817 -0
  69. data/doc/NgrokAPI/Models/EventTargetFirehose.html +36 -36
  70. data/doc/NgrokAPI/Models/EventTargetKinesis.html +36 -36
  71. data/doc/NgrokAPI/Models/FailoverBackend.html +73 -69
  72. data/doc/NgrokAPI/Models/HTTPResponseBackend.html +81 -77
  73. data/doc/NgrokAPI/Models/HTTPSEdge.html +85 -81
  74. data/doc/NgrokAPI/Models/HTTPSEdgeRoute.html +127 -123
  75. data/doc/NgrokAPI/Models/IPPolicy.html +73 -69
  76. data/doc/NgrokAPI/Models/IPPolicyRule.html +81 -77
  77. data/doc/NgrokAPI/Models/IPRestriction.html +73 -69
  78. data/doc/NgrokAPI/Models/IdentityProvider.html +669 -0
  79. data/doc/NgrokAPI/Models/Listable.html +79 -79
  80. data/doc/NgrokAPI/Models/Location.html +817 -0
  81. data/doc/NgrokAPI/Models/Ref.html +43 -39
  82. data/doc/NgrokAPI/Models/ReservedAddr.html +73 -69
  83. data/doc/NgrokAPI/Models/ReservedDomain.html +97 -93
  84. data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +44 -44
  85. data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +36 -36
  86. data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +36 -36
  87. data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +77 -73
  88. data/doc/NgrokAPI/Models/SSHCredential.html +154 -76
  89. data/doc/NgrokAPI/Models/SSHHostCertificate.html +97 -93
  90. data/doc/NgrokAPI/Models/SSHUserCertificate.html +105 -101
  91. data/doc/NgrokAPI/Models/TCPEdge.html +81 -77
  92. data/doc/NgrokAPI/Models/TLSCertificate.html +133 -129
  93. data/doc/NgrokAPI/Models/TLSCertificateSANs.html +36 -36
  94. data/doc/NgrokAPI/Models/TLSEdge.html +89 -85
  95. data/doc/NgrokAPI/Models/Tunnel.html +79 -75
  96. data/doc/NgrokAPI/Models/TunnelGroupBackend.html +77 -73
  97. data/doc/NgrokAPI/Models/TunnelSession.html +75 -71
  98. data/doc/NgrokAPI/Models/UserAgent.html +965 -0
  99. data/doc/NgrokAPI/Models/WeightedBackend.html +73 -69
  100. data/doc/NgrokAPI/Models.html +6 -6
  101. data/doc/NgrokAPI/PagedIterator.html +53 -53
  102. data/doc/NgrokAPI/Services/APIKeysClient.html +134 -94
  103. data/doc/NgrokAPI/Services/AbuseReportsClient.html +28 -28
  104. data/doc/NgrokAPI/Services/AgentIngressesClient.html +184 -104
  105. data/doc/NgrokAPI/Services/ApplicationSessionsClient.html +1131 -0
  106. data/doc/NgrokAPI/Services/ApplicationUsersClient.html +1131 -0
  107. data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +52 -52
  108. data/doc/NgrokAPI/Services/CredentialsClient.html +139 -99
  109. data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +36 -36
  110. data/doc/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +36 -36
  111. data/doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +36 -36
  112. data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +36 -36
  113. data/doc/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +36 -36
  114. data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +36 -36
  115. data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +36 -36
  116. data/doc/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +36 -36
  117. data/doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +36 -36
  118. data/doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +36 -36
  119. data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +36 -36
  120. data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +52 -52
  121. data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +44 -44
  122. data/doc/NgrokAPI/Services/EdgesTCPClient.html +52 -52
  123. data/doc/NgrokAPI/Services/EdgesTLSClient.html +52 -52
  124. data/doc/NgrokAPI/Services/EndpointsClient.html +28 -28
  125. data/doc/NgrokAPI/Services/EventDestinationsClient.html +17 -17
  126. data/doc/NgrokAPI/Services/EventSourcesClient.html +52 -52
  127. data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +52 -52
  128. data/doc/NgrokAPI/Services/FailoverBackendsClient.html +52 -52
  129. data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +52 -52
  130. data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +36 -36
  131. data/doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +36 -36
  132. data/doc/NgrokAPI/Services/IPPoliciesClient.html +52 -52
  133. data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +58 -62
  134. data/doc/NgrokAPI/Services/IPRestrictionsClient.html +52 -52
  135. data/doc/NgrokAPI/Services/ReservedAddrsClient.html +52 -52
  136. data/doc/NgrokAPI/Services/ReservedDomainsClient.html +90 -86
  137. data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +52 -52
  138. data/doc/NgrokAPI/Services/SSHCredentialsClient.html +138 -98
  139. data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +52 -52
  140. data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +56 -56
  141. data/doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +36 -36
  142. data/doc/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +36 -36
  143. data/doc/NgrokAPI/Services/TLSCertificatesClient.html +56 -56
  144. data/doc/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +36 -36
  145. data/doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +36 -36
  146. data/doc/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +36 -36
  147. data/doc/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +36 -36
  148. data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +52 -52
  149. data/doc/NgrokAPI/Services/TunnelSessionsClient.html +52 -52
  150. data/doc/NgrokAPI/Services/TunnelsClient.html +28 -28
  151. data/doc/NgrokAPI/Services/WeightedBackendsClient.html +52 -52
  152. data/doc/NgrokAPI/Services.html +6 -6
  153. data/doc/NgrokAPI.html +6 -6
  154. data/doc/_index.html +139 -8
  155. data/doc/class_list.html +1 -1
  156. data/doc/file.README.html +45 -41
  157. data/doc/frames.html +1 -1
  158. data/doc/index.html +45 -41
  159. data/doc/method_list.html +2127 -671
  160. data/doc/top-level-namespace.html +4 -4
  161. data/docs/NgrokAPI/Client.html +229 -125
  162. data/docs/NgrokAPI/Error.html +12 -12
  163. data/docs/NgrokAPI/Errors/NotFoundError.html +12 -12
  164. data/docs/NgrokAPI/Errors.html +4 -4
  165. data/docs/NgrokAPI/HttpClient.html +73 -73
  166. data/docs/NgrokAPI/Models/APIKey.html +150 -72
  167. data/docs/NgrokAPI/Models/AWSAuth.html +36 -36
  168. data/docs/NgrokAPI/Models/AWSCredentials.html +36 -36
  169. data/docs/NgrokAPI/Models/AWSRole.html +32 -32
  170. data/docs/NgrokAPI/Models/AbuseReport.html +63 -59
  171. data/docs/NgrokAPI/Models/AbuseReportHostname.html +36 -36
  172. data/docs/NgrokAPI/Models/AgentIngress.html +245 -87
  173. data/docs/NgrokAPI/Models/AgentIngressCertJob.html +817 -0
  174. data/docs/NgrokAPI/Models/AgentIngressCertPolicy.html +669 -0
  175. data/docs/NgrokAPI/Models/AgentIngressCertStatus.html +669 -0
  176. data/docs/NgrokAPI/Models/ApplicationSession.html +1414 -0
  177. data/docs/NgrokAPI/Models/ApplicationUser.html +1336 -0
  178. data/docs/NgrokAPI/Models/BrowserSession.html +743 -0
  179. data/docs/NgrokAPI/Models/CertificateAuthority.html +93 -89
  180. data/docs/NgrokAPI/Models/Credential.html +154 -76
  181. data/docs/NgrokAPI/Models/Endpoint.html +87 -83
  182. data/docs/NgrokAPI/Models/EndpointBackend.html +36 -36
  183. data/docs/NgrokAPI/Models/EndpointBackendMutate.html +36 -36
  184. data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +52 -52
  185. data/docs/NgrokAPI/Models/EndpointCompression.html +32 -32
  186. data/docs/NgrokAPI/Models/EndpointIPPolicy.html +36 -36
  187. data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +36 -36
  188. data/docs/NgrokAPI/Models/EndpointMutualTLS.html +36 -36
  189. data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +36 -36
  190. data/docs/NgrokAPI/Models/EndpointOAuth.html +56 -56
  191. data/docs/NgrokAPI/Models/EndpointOAuthAmazon.html +891 -0
  192. data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +48 -48
  193. data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +56 -56
  194. data/docs/NgrokAPI/Models/EndpointOAuthGitLab.html +891 -0
  195. data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +48 -48
  196. data/docs/NgrokAPI/Models/EndpointOAuthLinkedIn.html +891 -0
  197. data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +48 -48
  198. data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +345 -49
  199. data/docs/NgrokAPI/Models/EndpointOAuthTwitch.html +891 -0
  200. data/docs/NgrokAPI/Models/EndpointOIDC.html +64 -64
  201. data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +40 -40
  202. data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +40 -40
  203. data/docs/NgrokAPI/Models/EndpointSAML.html +114 -98
  204. data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +79 -75
  205. data/docs/NgrokAPI/Models/EndpointTLSTermination.html +40 -40
  206. data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +36 -36
  207. data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +40 -40
  208. data/docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +32 -32
  209. data/docs/NgrokAPI/Models/EventDestination.html +69 -65
  210. data/docs/NgrokAPI/Models/EventSource.html +51 -47
  211. data/docs/NgrokAPI/Models/EventSourceList.html +43 -39
  212. data/docs/NgrokAPI/Models/EventSourceReplace.html +40 -40
  213. data/docs/NgrokAPI/Models/EventSubscription.html +69 -65
  214. data/docs/NgrokAPI/Models/EventTarget.html +119 -45
  215. data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +36 -36
  216. data/docs/NgrokAPI/Models/EventTargetDatadog.html +817 -0
  217. data/docs/NgrokAPI/Models/EventTargetFirehose.html +36 -36
  218. data/docs/NgrokAPI/Models/EventTargetKinesis.html +36 -36
  219. data/docs/NgrokAPI/Models/FailoverBackend.html +73 -69
  220. data/docs/NgrokAPI/Models/HTTPResponseBackend.html +81 -77
  221. data/docs/NgrokAPI/Models/HTTPSEdge.html +85 -81
  222. data/docs/NgrokAPI/Models/HTTPSEdgeRoute.html +127 -123
  223. data/docs/NgrokAPI/Models/IPPolicy.html +73 -69
  224. data/docs/NgrokAPI/Models/IPPolicyRule.html +81 -77
  225. data/docs/NgrokAPI/Models/IPRestriction.html +73 -69
  226. data/docs/NgrokAPI/Models/IdentityProvider.html +669 -0
  227. data/docs/NgrokAPI/Models/Listable.html +79 -79
  228. data/docs/NgrokAPI/Models/Location.html +817 -0
  229. data/docs/NgrokAPI/Models/Ref.html +43 -39
  230. data/docs/NgrokAPI/Models/ReservedAddr.html +73 -69
  231. data/docs/NgrokAPI/Models/ReservedDomain.html +97 -93
  232. data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +44 -44
  233. data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +36 -36
  234. data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +36 -36
  235. data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +77 -73
  236. data/docs/NgrokAPI/Models/SSHCredential.html +154 -76
  237. data/docs/NgrokAPI/Models/SSHHostCertificate.html +97 -93
  238. data/docs/NgrokAPI/Models/SSHUserCertificate.html +105 -101
  239. data/docs/NgrokAPI/Models/TCPEdge.html +81 -77
  240. data/docs/NgrokAPI/Models/TLSCertificate.html +133 -129
  241. data/docs/NgrokAPI/Models/TLSCertificateSANs.html +36 -36
  242. data/docs/NgrokAPI/Models/TLSEdge.html +89 -85
  243. data/docs/NgrokAPI/Models/Tunnel.html +79 -75
  244. data/docs/NgrokAPI/Models/TunnelGroupBackend.html +77 -73
  245. data/docs/NgrokAPI/Models/TunnelSession.html +75 -71
  246. data/docs/NgrokAPI/Models/UserAgent.html +965 -0
  247. data/docs/NgrokAPI/Models/WeightedBackend.html +73 -69
  248. data/docs/NgrokAPI/Models.html +6 -6
  249. data/docs/NgrokAPI/PagedIterator.html +53 -53
  250. data/docs/NgrokAPI/Services/APIKeysClient.html +134 -94
  251. data/docs/NgrokAPI/Services/AbuseReportsClient.html +28 -28
  252. data/docs/NgrokAPI/Services/AgentIngressesClient.html +184 -104
  253. data/docs/NgrokAPI/Services/ApplicationSessionsClient.html +1131 -0
  254. data/docs/NgrokAPI/Services/ApplicationUsersClient.html +1131 -0
  255. data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +52 -52
  256. data/docs/NgrokAPI/Services/CredentialsClient.html +139 -99
  257. data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +36 -36
  258. data/docs/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +36 -36
  259. data/docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +36 -36
  260. data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +36 -36
  261. data/docs/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +36 -36
  262. data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +36 -36
  263. data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +36 -36
  264. data/docs/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +36 -36
  265. data/docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +36 -36
  266. data/docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +36 -36
  267. data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +36 -36
  268. data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +52 -52
  269. data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +44 -44
  270. data/docs/NgrokAPI/Services/EdgesTCPClient.html +52 -52
  271. data/docs/NgrokAPI/Services/EdgesTLSClient.html +52 -52
  272. data/docs/NgrokAPI/Services/EndpointsClient.html +28 -28
  273. data/docs/NgrokAPI/Services/EventDestinationsClient.html +17 -17
  274. data/docs/NgrokAPI/Services/EventSourcesClient.html +52 -52
  275. data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +52 -52
  276. data/docs/NgrokAPI/Services/FailoverBackendsClient.html +52 -52
  277. data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +52 -52
  278. data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +36 -36
  279. data/docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +36 -36
  280. data/docs/NgrokAPI/Services/IPPoliciesClient.html +52 -52
  281. data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +58 -62
  282. data/docs/NgrokAPI/Services/IPRestrictionsClient.html +52 -52
  283. data/docs/NgrokAPI/Services/ReservedAddrsClient.html +52 -52
  284. data/docs/NgrokAPI/Services/ReservedDomainsClient.html +90 -86
  285. data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +52 -52
  286. data/docs/NgrokAPI/Services/SSHCredentialsClient.html +138 -98
  287. data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +52 -52
  288. data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +56 -56
  289. data/docs/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +36 -36
  290. data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +36 -36
  291. data/docs/NgrokAPI/Services/TLSCertificatesClient.html +56 -56
  292. data/docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +36 -36
  293. data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +36 -36
  294. data/docs/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +36 -36
  295. data/docs/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +36 -36
  296. data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +52 -52
  297. data/docs/NgrokAPI/Services/TunnelSessionsClient.html +52 -52
  298. data/docs/NgrokAPI/Services/TunnelsClient.html +28 -28
  299. data/docs/NgrokAPI/Services/WeightedBackendsClient.html +52 -52
  300. data/docs/NgrokAPI/Services.html +6 -6
  301. data/docs/NgrokAPI.html +6 -6
  302. data/docs/_index.html +139 -8
  303. data/docs/class_list.html +1 -1
  304. data/docs/file.README.html +45 -41
  305. data/docs/frames.html +1 -1
  306. data/docs/index.html +45 -41
  307. data/docs/method_list.html +2127 -671
  308. data/docs/top-level-namespace.html +4 -4
  309. data/lib/ngrokapi/client.rb +21 -11
  310. data/lib/ngrokapi/error.rb +2 -0
  311. data/lib/ngrokapi/errors/not_found_error.rb +2 -0
  312. data/lib/ngrokapi/http_client.rb +153 -150
  313. data/lib/ngrokapi/models/abuse_report.rb +7 -1
  314. data/lib/ngrokapi/models/abuse_report_hostname.rb +2 -0
  315. data/lib/ngrokapi/models/agent_ingress.rb +17 -4
  316. data/lib/ngrokapi/models/agent_ingress_cert_job.rb +37 -0
  317. data/lib/ngrokapi/models/agent_ingress_cert_policy.rb +33 -0
  318. data/lib/ngrokapi/models/agent_ingress_cert_status.rb +33 -0
  319. data/lib/ngrokapi/models/api_key.rb +10 -2
  320. data/lib/ngrokapi/models/application_session.rb +67 -0
  321. data/lib/ngrokapi/models/application_user.rb +63 -0
  322. data/lib/ngrokapi/models/aws_auth.rb +2 -0
  323. data/lib/ngrokapi/models/aws_credentials.rb +2 -0
  324. data/lib/ngrokapi/models/aws_role.rb +2 -0
  325. data/lib/ngrokapi/models/browser_session.rb +35 -0
  326. data/lib/ngrokapi/models/certificate_authority.rb +7 -1
  327. data/lib/ngrokapi/models/credential.rb +10 -2
  328. data/lib/ngrokapi/models/endpoint.rb +7 -1
  329. data/lib/ngrokapi/models/endpoint_backend.rb +2 -0
  330. data/lib/ngrokapi/models/endpoint_backend_mutate.rb +2 -0
  331. data/lib/ngrokapi/models/endpoint_circuit_breaker.rb +2 -0
  332. data/lib/ngrokapi/models/endpoint_compression.rb +2 -0
  333. data/lib/ngrokapi/models/endpoint_ip_policy.rb +2 -0
  334. data/lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +2 -0
  335. data/lib/ngrokapi/models/endpoint_mutual_tls.rb +2 -0
  336. data/lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +2 -0
  337. data/lib/ngrokapi/models/endpoint_o_auth.rb +2 -0
  338. data/lib/ngrokapi/models/endpoint_o_auth_amazon.rb +39 -0
  339. data/lib/ngrokapi/models/endpoint_o_auth_facebook.rb +2 -0
  340. data/lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +2 -0
  341. data/lib/ngrokapi/models/endpoint_o_auth_git_lab.rb +39 -0
  342. data/lib/ngrokapi/models/endpoint_o_auth_google.rb +2 -0
  343. data/lib/ngrokapi/models/endpoint_o_auth_linked_in.rb +39 -0
  344. data/lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +2 -0
  345. data/lib/ngrokapi/models/endpoint_o_auth_provider.rb +11 -1
  346. data/lib/ngrokapi/models/endpoint_o_auth_twitch.rb +39 -0
  347. data/lib/ngrokapi/models/endpoint_oidc.rb +2 -0
  348. data/lib/ngrokapi/models/endpoint_request_headers.rb +2 -0
  349. data/lib/ngrokapi/models/endpoint_response_headers.rb +2 -0
  350. data/lib/ngrokapi/models/endpoint_saml.rb +16 -4
  351. data/lib/ngrokapi/models/endpoint_saml_mutate.rb +7 -1
  352. data/lib/ngrokapi/models/endpoint_tls_termination.rb +2 -0
  353. data/lib/ngrokapi/models/endpoint_tls_termination_at_edge.rb +2 -0
  354. data/lib/ngrokapi/models/endpoint_webhook_validation.rb +2 -0
  355. data/lib/ngrokapi/models/endpoint_websocket_tcp_converter.rb +2 -0
  356. data/lib/ngrokapi/models/event_destination.rb +7 -1
  357. data/lib/ngrokapi/models/event_source.rb +7 -1
  358. data/lib/ngrokapi/models/event_source_list.rb +7 -1
  359. data/lib/ngrokapi/models/event_source_replace.rb +2 -0
  360. data/lib/ngrokapi/models/event_subscription.rb +7 -1
  361. data/lib/ngrokapi/models/event_target.rb +5 -1
  362. data/lib/ngrokapi/models/event_target_cloudwatch_logs.rb +2 -0
  363. data/lib/ngrokapi/models/event_target_datadog.rb +37 -0
  364. data/lib/ngrokapi/models/event_target_firehose.rb +2 -0
  365. data/lib/ngrokapi/models/event_target_kinesis.rb +2 -0
  366. data/lib/ngrokapi/models/failover_backend.rb +7 -1
  367. data/lib/ngrokapi/models/http_response_backend.rb +7 -1
  368. data/lib/ngrokapi/models/https_edge.rb +7 -1
  369. data/lib/ngrokapi/models/https_edge_route.rb +7 -1
  370. data/lib/ngrokapi/models/identity_provider.rb +33 -0
  371. data/lib/ngrokapi/models/ip_policy.rb +7 -1
  372. data/lib/ngrokapi/models/ip_policy_rule.rb +7 -1
  373. data/lib/ngrokapi/models/ip_restriction.rb +7 -1
  374. data/lib/ngrokapi/models/listable.rb +55 -53
  375. data/lib/ngrokapi/models/location.rb +37 -0
  376. data/lib/ngrokapi/models/ref.rb +7 -1
  377. data/lib/ngrokapi/models/reserved_addr.rb +7 -1
  378. data/lib/ngrokapi/models/reserved_domain.rb +7 -1
  379. data/lib/ngrokapi/models/reserved_domain_cert_job.rb +2 -0
  380. data/lib/ngrokapi/models/reserved_domain_cert_policy.rb +2 -0
  381. data/lib/ngrokapi/models/reserved_domain_cert_status.rb +2 -0
  382. data/lib/ngrokapi/models/ssh_certificate_authority.rb +7 -1
  383. data/lib/ngrokapi/models/ssh_credential.rb +10 -2
  384. data/lib/ngrokapi/models/ssh_host_certificate.rb +7 -1
  385. data/lib/ngrokapi/models/ssh_user_certificate.rb +7 -1
  386. data/lib/ngrokapi/models/tcp_edge.rb +7 -1
  387. data/lib/ngrokapi/models/tls_certificate.rb +7 -1
  388. data/lib/ngrokapi/models/tls_certificate_sa_ns.rb +2 -0
  389. data/lib/ngrokapi/models/tls_edge.rb +7 -1
  390. data/lib/ngrokapi/models/tunnel.rb +7 -1
  391. data/lib/ngrokapi/models/tunnel_group_backend.rb +7 -1
  392. data/lib/ngrokapi/models/tunnel_session.rb +7 -1
  393. data/lib/ngrokapi/models/user_agent.rb +41 -0
  394. data/lib/ngrokapi/models/weighted_backend.rb +7 -1
  395. data/lib/ngrokapi/paged_iterator.rb +44 -42
  396. data/lib/ngrokapi/services/abuse_reports_client.rb +2 -0
  397. data/lib/ngrokapi/services/agent_ingresses_client.rb +14 -4
  398. data/lib/ngrokapi/services/api_keys_client.rb +8 -2
  399. data/lib/ngrokapi/services/application_sessions_client.rb +141 -0
  400. data/lib/ngrokapi/services/application_users_client.rb +141 -0
  401. data/lib/ngrokapi/services/certificate_authorities_client.rb +2 -0
  402. data/lib/ngrokapi/services/credentials_client.rb +13 -7
  403. data/lib/ngrokapi/services/edge_route_backend_module_client.rb +2 -0
  404. data/lib/ngrokapi/services/edge_route_circuit_breaker_module_client.rb +2 -0
  405. data/lib/ngrokapi/services/edge_route_compression_module_client.rb +2 -0
  406. data/lib/ngrokapi/services/edge_route_ip_restriction_module_client.rb +2 -0
  407. data/lib/ngrokapi/services/edge_route_o_auth_module_client.rb +2 -0
  408. data/lib/ngrokapi/services/edge_route_oidc_module_client.rb +2 -0
  409. data/lib/ngrokapi/services/edge_route_request_headers_module_client.rb +2 -0
  410. data/lib/ngrokapi/services/edge_route_response_headers_module_client.rb +2 -0
  411. data/lib/ngrokapi/services/edge_route_saml_module_client.rb +2 -0
  412. data/lib/ngrokapi/services/edge_route_webhook_verification_module_client.rb +2 -0
  413. data/lib/ngrokapi/services/edge_route_websocket_tcp_converter_module_client.rb +2 -0
  414. data/lib/ngrokapi/services/edges_https_client.rb +2 -0
  415. data/lib/ngrokapi/services/edges_https_routes_client.rb +2 -0
  416. data/lib/ngrokapi/services/edges_tcp_client.rb +2 -0
  417. data/lib/ngrokapi/services/edges_tls_client.rb +2 -0
  418. data/lib/ngrokapi/services/endpoints_client.rb +2 -0
  419. data/lib/ngrokapi/services/event_destinations_client.rb +4 -4
  420. data/lib/ngrokapi/services/event_sources_client.rb +2 -0
  421. data/lib/ngrokapi/services/event_subscriptions_client.rb +2 -0
  422. data/lib/ngrokapi/services/failover_backends_client.rb +2 -0
  423. data/lib/ngrokapi/services/http_response_backends_client.rb +2 -0
  424. data/lib/ngrokapi/services/https_edge_mutual_tls_module_client.rb +2 -0
  425. data/lib/ngrokapi/services/https_edge_tls_termination_module_client.rb +2 -0
  426. data/lib/ngrokapi/services/ip_policies_client.rb +2 -0
  427. data/lib/ngrokapi/services/ip_policy_rules_client.rb +4 -2
  428. data/lib/ngrokapi/services/ip_restrictions_client.rb +2 -0
  429. data/lib/ngrokapi/services/reserved_addrs_client.rb +2 -0
  430. data/lib/ngrokapi/services/reserved_domains_client.rb +10 -8
  431. data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +2 -0
  432. data/lib/ngrokapi/services/ssh_credentials_client.rb +12 -6
  433. data/lib/ngrokapi/services/ssh_host_certificates_client.rb +2 -0
  434. data/lib/ngrokapi/services/ssh_user_certificates_client.rb +6 -4
  435. data/lib/ngrokapi/services/tcp_edge_backend_module_client.rb +2 -0
  436. data/lib/ngrokapi/services/tcp_edge_ip_restriction_module_client.rb +2 -0
  437. data/lib/ngrokapi/services/tls_certificates_client.rb +6 -4
  438. data/lib/ngrokapi/services/tls_edge_backend_module_client.rb +2 -0
  439. data/lib/ngrokapi/services/tls_edge_ip_restriction_module_client.rb +2 -0
  440. data/lib/ngrokapi/services/tls_edge_mutual_tls_module_client.rb +2 -0
  441. data/lib/ngrokapi/services/tls_edge_tls_termination_module_client.rb +2 -0
  442. data/lib/ngrokapi/services/tunnel_group_backends_client.rb +2 -0
  443. data/lib/ngrokapi/services/tunnel_sessions_client.rb +2 -0
  444. data/lib/ngrokapi/services/tunnels_client.rb +2 -0
  445. data/lib/ngrokapi/services/weighted_backends_client.rb +2 -0
  446. data/lib/ngrokapi/version.rb +9 -7
  447. data/lib/ngrokapi.rb +15 -13
  448. data/ngrok-api.gemspec +29 -27
  449. data/spec/ngrokapi/client_spec.rb +20 -6
  450. data/spec/ngrokapi/http_client_spec.rb +77 -75
  451. data/spec/ngrokapi/models/abuse_report_hostname_spec.rb +2 -0
  452. data/spec/ngrokapi/models/abuse_report_spec.rb +2 -0
  453. data/spec/ngrokapi/models/agent_ingress_cert_job_spec.rb +23 -0
  454. data/spec/ngrokapi/models/agent_ingress_cert_policy_spec.rb +23 -0
  455. data/spec/ngrokapi/models/agent_ingress_cert_status_spec.rb +23 -0
  456. data/spec/ngrokapi/models/agent_ingress_spec.rb +6 -1
  457. data/spec/ngrokapi/models/api_key_spec.rb +2 -0
  458. data/spec/ngrokapi/models/application_session_spec.rb +30 -0
  459. data/spec/ngrokapi/models/application_user_spec.rb +30 -0
  460. data/spec/ngrokapi/models/aws_auth_spec.rb +2 -0
  461. data/spec/ngrokapi/models/aws_credentials_spec.rb +2 -0
  462. data/spec/ngrokapi/models/aws_role_spec.rb +2 -0
  463. data/spec/ngrokapi/models/browser_session_spec.rb +23 -0
  464. data/spec/ngrokapi/models/certificate_authority_spec.rb +2 -0
  465. data/spec/ngrokapi/models/credential_spec.rb +2 -0
  466. data/spec/ngrokapi/models/endpoint_backend_mutate_spec.rb +2 -0
  467. data/spec/ngrokapi/models/endpoint_backend_spec.rb +2 -0
  468. data/spec/ngrokapi/models/endpoint_circuit_breaker_spec.rb +2 -0
  469. data/spec/ngrokapi/models/endpoint_compression_spec.rb +2 -0
  470. data/spec/ngrokapi/models/endpoint_ip_policy_mutate_spec.rb +2 -0
  471. data/spec/ngrokapi/models/endpoint_ip_policy_spec.rb +2 -0
  472. data/spec/ngrokapi/models/endpoint_mutual_tls_mutate_spec.rb +2 -0
  473. data/spec/ngrokapi/models/endpoint_mutual_tls_spec.rb +2 -0
  474. data/spec/ngrokapi/models/endpoint_o_auth_amazon_spec.rb +23 -0
  475. data/spec/ngrokapi/models/endpoint_o_auth_facebook_spec.rb +2 -0
  476. data/spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb +2 -0
  477. data/spec/ngrokapi/models/endpoint_o_auth_git_lab_spec.rb +23 -0
  478. data/spec/ngrokapi/models/endpoint_o_auth_google_spec.rb +2 -0
  479. data/spec/ngrokapi/models/endpoint_o_auth_linked_in_spec.rb +23 -0
  480. data/spec/ngrokapi/models/endpoint_o_auth_microsoft_spec.rb +2 -0
  481. data/spec/ngrokapi/models/endpoint_o_auth_provider_spec.rb +2 -0
  482. data/spec/ngrokapi/models/endpoint_o_auth_spec.rb +2 -0
  483. data/spec/ngrokapi/models/endpoint_o_auth_twitch_spec.rb +23 -0
  484. data/spec/ngrokapi/models/endpoint_oidc_spec.rb +2 -0
  485. data/spec/ngrokapi/models/endpoint_request_headers_spec.rb +2 -0
  486. data/spec/ngrokapi/models/endpoint_response_headers_spec.rb +2 -0
  487. data/spec/ngrokapi/models/endpoint_saml_mutate_spec.rb +2 -0
  488. data/spec/ngrokapi/models/endpoint_saml_spec.rb +2 -0
  489. data/spec/ngrokapi/models/endpoint_spec.rb +2 -0
  490. data/spec/ngrokapi/models/endpoint_tls_termination_at_edge_spec.rb +2 -0
  491. data/spec/ngrokapi/models/endpoint_tls_termination_spec.rb +2 -0
  492. data/spec/ngrokapi/models/endpoint_webhook_validation_spec.rb +2 -0
  493. data/spec/ngrokapi/models/endpoint_websocket_tcp_converter_spec.rb +2 -0
  494. data/spec/ngrokapi/models/event_destination_spec.rb +2 -0
  495. data/spec/ngrokapi/models/event_source_list_spec.rb +2 -0
  496. data/spec/ngrokapi/models/event_source_replace_spec.rb +2 -0
  497. data/spec/ngrokapi/models/event_source_spec.rb +2 -0
  498. data/spec/ngrokapi/models/event_subscription_spec.rb +2 -0
  499. data/spec/ngrokapi/models/event_target_cloudwatch_logs_spec.rb +2 -0
  500. data/spec/ngrokapi/models/event_target_datadog_spec.rb +23 -0
  501. data/spec/ngrokapi/models/event_target_firehose_spec.rb +2 -0
  502. data/spec/ngrokapi/models/event_target_kinesis_spec.rb +2 -0
  503. data/spec/ngrokapi/models/event_target_spec.rb +2 -0
  504. data/spec/ngrokapi/models/failover_backend_spec.rb +2 -0
  505. data/spec/ngrokapi/models/http_response_backend_spec.rb +2 -0
  506. data/spec/ngrokapi/models/https_edge_route_spec.rb +2 -0
  507. data/spec/ngrokapi/models/https_edge_spec.rb +2 -0
  508. data/spec/ngrokapi/models/identity_provider_spec.rb +23 -0
  509. data/spec/ngrokapi/models/ip_policy_rule_spec.rb +2 -0
  510. data/spec/ngrokapi/models/ip_policy_spec.rb +2 -0
  511. data/spec/ngrokapi/models/ip_restriction_spec.rb +2 -0
  512. data/spec/ngrokapi/models/listable_spec.rb +45 -43
  513. data/spec/ngrokapi/models/location_spec.rb +23 -0
  514. data/spec/ngrokapi/models/ref_spec.rb +2 -0
  515. data/spec/ngrokapi/models/reserved_addr_spec.rb +2 -0
  516. data/spec/ngrokapi/models/reserved_domain_cert_job_spec.rb +2 -0
  517. data/spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb +2 -0
  518. data/spec/ngrokapi/models/reserved_domain_cert_status_spec.rb +2 -0
  519. data/spec/ngrokapi/models/reserved_domain_spec.rb +2 -0
  520. data/spec/ngrokapi/models/ssh_certificate_authority_spec.rb +2 -0
  521. data/spec/ngrokapi/models/ssh_credential_spec.rb +2 -0
  522. data/spec/ngrokapi/models/ssh_host_certificate_spec.rb +2 -0
  523. data/spec/ngrokapi/models/ssh_user_certificate_spec.rb +2 -0
  524. data/spec/ngrokapi/models/tcp_edge_spec.rb +2 -0
  525. data/spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb +2 -0
  526. data/spec/ngrokapi/models/tls_certificate_spec.rb +2 -0
  527. data/spec/ngrokapi/models/tls_edge_spec.rb +2 -0
  528. data/spec/ngrokapi/models/tunnel_group_backend_spec.rb +2 -0
  529. data/spec/ngrokapi/models/tunnel_session_spec.rb +2 -0
  530. data/spec/ngrokapi/models/tunnel_spec.rb +2 -0
  531. data/spec/ngrokapi/models/user_agent_spec.rb +23 -0
  532. data/spec/ngrokapi/models/weighted_backend_spec.rb +2 -0
  533. data/spec/ngrokapi/paged_iterator_spec.rb +86 -84
  534. data/spec/ngrokapi/services/abuse_reports_client_spec.rb +2 -0
  535. data/spec/ngrokapi/services/agent_ingresses_client_spec.rb +14 -4
  536. data/spec/ngrokapi/services/api_keys_client_spec.rb +10 -2
  537. data/spec/ngrokapi/services/application_sessions_client_spec.rb +100 -0
  538. data/spec/ngrokapi/services/application_users_client_spec.rb +100 -0
  539. data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +2 -0
  540. data/spec/ngrokapi/services/credentials_client_spec.rb +10 -2
  541. data/spec/ngrokapi/services/edge_route_backend_module_client_spec.rb +2 -0
  542. data/spec/ngrokapi/services/edge_route_circuit_breaker_module_client_spec.rb +2 -0
  543. data/spec/ngrokapi/services/edge_route_compression_module_client_spec.rb +2 -0
  544. data/spec/ngrokapi/services/edge_route_ip_restriction_module_client_spec.rb +2 -0
  545. data/spec/ngrokapi/services/edge_route_o_auth_module_client_spec.rb +2 -0
  546. data/spec/ngrokapi/services/edge_route_oidc_module_client_spec.rb +2 -0
  547. data/spec/ngrokapi/services/edge_route_request_headers_module_client_spec.rb +2 -0
  548. data/spec/ngrokapi/services/edge_route_response_headers_module_client_spec.rb +2 -0
  549. data/spec/ngrokapi/services/edge_route_saml_module_client_spec.rb +2 -0
  550. data/spec/ngrokapi/services/edge_route_webhook_verification_module_client_spec.rb +2 -0
  551. data/spec/ngrokapi/services/edge_route_websocket_tcp_converter_module_client_spec.rb +2 -0
  552. data/spec/ngrokapi/services/edges_https_client_spec.rb +2 -0
  553. data/spec/ngrokapi/services/edges_https_routes_client_spec.rb +2 -0
  554. data/spec/ngrokapi/services/edges_tcp_client_spec.rb +2 -0
  555. data/spec/ngrokapi/services/edges_tls_client_spec.rb +2 -0
  556. data/spec/ngrokapi/services/endpoints_client_spec.rb +2 -0
  557. data/spec/ngrokapi/services/event_destinations_client_spec.rb +2 -0
  558. data/spec/ngrokapi/services/event_sources_client_spec.rb +2 -0
  559. data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +2 -0
  560. data/spec/ngrokapi/services/failover_backends_client_spec.rb +2 -0
  561. data/spec/ngrokapi/services/http_response_backends_client_spec.rb +2 -0
  562. data/spec/ngrokapi/services/https_edge_mutual_tls_module_client_spec.rb +2 -0
  563. data/spec/ngrokapi/services/https_edge_tls_termination_module_client_spec.rb +2 -0
  564. data/spec/ngrokapi/services/ip_policies_client_spec.rb +2 -0
  565. data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +2 -0
  566. data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +2 -0
  567. data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +2 -0
  568. data/spec/ngrokapi/services/reserved_domains_client_spec.rb +10 -4
  569. data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +2 -0
  570. data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +10 -2
  571. data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +2 -0
  572. data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +2 -0
  573. data/spec/ngrokapi/services/tcp_edge_backend_module_client_spec.rb +2 -0
  574. data/spec/ngrokapi/services/tcp_edge_ip_restriction_module_client_spec.rb +2 -0
  575. data/spec/ngrokapi/services/tls_certificates_client_spec.rb +2 -0
  576. data/spec/ngrokapi/services/tls_edge_backend_module_client_spec.rb +2 -0
  577. data/spec/ngrokapi/services/tls_edge_ip_restriction_module_client_spec.rb +2 -0
  578. data/spec/ngrokapi/services/tls_edge_mutual_tls_module_client_spec.rb +2 -0
  579. data/spec/ngrokapi/services/tls_edge_tls_termination_module_client_spec.rb +2 -0
  580. data/spec/ngrokapi/services/tunnel_group_backends_client_spec.rb +2 -0
  581. data/spec/ngrokapi/services/tunnel_sessions_client_spec.rb +2 -0
  582. data/spec/ngrokapi/services/tunnels_client_spec.rb +2 -0
  583. data/spec/ngrokapi/services/weighted_backends_client_spec.rb +2 -0
  584. data/spec/spec_helper.rb +94 -2
  585. metadata +68 -2
@@ -0,0 +1,1131 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: NgrokAPI::Services::ApplicationSessionsClient
8
+
9
+ &mdash; Documentation by YARD 0.9.34
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "NgrokAPI::Services::ApplicationSessionsClient";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (A)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Services.html" title="NgrokAPI::Services (module)">Services</a></span></span>
41
+ &raquo;
42
+ <span class="title">ApplicationSessionsClient</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: NgrokAPI::Services::ApplicationSessionsClient
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">NgrokAPI::Services::ApplicationSessionsClient</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/ngrokapi/services/application_sessions_client.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+
105
+ <p><a href="https://ngrok.com/docs/api#api-application-sessions">ngrok.com/docs/api#api-application-sessions</a></p>
106
+
107
+
108
+ </div>
109
+ </div>
110
+ <div class="tags">
111
+
112
+
113
+ </div>
114
+
115
+ <h2>
116
+ Constant Summary
117
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
118
+ </h2>
119
+
120
+ <dl class="constants">
121
+
122
+ <dt id="PATH-constant" class="">PATH =
123
+ <div class="docstring">
124
+ <div class="discussion">
125
+
126
+ <p>The API path for the requests</p>
127
+
128
+
129
+ </div>
130
+ </div>
131
+ <div class="tags">
132
+
133
+
134
+ </div>
135
+ </dt>
136
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/app/sessions/%{id}</span><span class='tstring_end'>&#39;</span></span></pre></dd>
137
+
138
+ <dt id="LIST_PROPERTY-constant" class="">LIST_PROPERTY =
139
+ <div class="docstring">
140
+ <div class="discussion">
141
+
142
+ <p>The List Property from the resulting API for list calls</p>
143
+
144
+
145
+ </div>
146
+ </div>
147
+ <div class="tags">
148
+
149
+
150
+ </div>
151
+ </dt>
152
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>application_sessions</span><span class='tstring_end'>&#39;</span></span></pre></dd>
153
+
154
+ </dl>
155
+
156
+
157
+
158
+
159
+
160
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
161
+ <ul class="summary">
162
+
163
+ <li class="public ">
164
+ <span class="summary_signature">
165
+
166
+ <a href="#client-instance_method" title="#client (instance method)">#<strong>client</strong> &#x21d2; Object </a>
167
+
168
+
169
+
170
+ </span>
171
+
172
+
173
+
174
+
175
+ <span class="note title readonly">readonly</span>
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+ <span class="summary_desc"><div class='inline'>
186
+ <p>Returns the value of attribute client.</p>
187
+ </div></span>
188
+
189
+ </li>
190
+
191
+
192
+ </ul>
193
+
194
+
195
+
196
+
197
+
198
+ <h2>
199
+ Instance Method Summary
200
+ <small><a href="#" class="summary_toggle">collapse</a></small>
201
+ </h2>
202
+
203
+ <ul class="summary">
204
+
205
+ <li class="public ">
206
+ <span class="summary_signature">
207
+
208
+ <a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong>(id: &quot;&quot;) &#x21d2; NgrokAPI::Models::Empty </a>
209
+
210
+
211
+
212
+ </span>
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+ <span class="summary_desc"><div class='inline'>
223
+ <p>Delete an application session by ID.</p>
224
+ </div></span>
225
+
226
+ </li>
227
+
228
+
229
+ <li class="public ">
230
+ <span class="summary_signature">
231
+
232
+ <a href="#delete!-instance_method" title="#delete! (instance method)">#<strong>delete!</strong>(id: &quot;&quot;) &#x21d2; NgrokAPI::Models::Empty </a>
233
+
234
+
235
+
236
+ </span>
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+ <span class="summary_desc"><div class='inline'>
247
+ <p>Delete an application session by ID.</p>
248
+ </div></span>
249
+
250
+ </li>
251
+
252
+
253
+ <li class="public ">
254
+ <span class="summary_signature">
255
+
256
+ <a href="#get-instance_method" title="#get (instance method)">#<strong>get</strong>(id: &quot;&quot;) &#x21d2; NgrokAPI::Models::ApplicationSession </a>
257
+
258
+
259
+
260
+ </span>
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+ <span class="summary_desc"><div class='inline'>
271
+ <p>Get an application session by ID.</p>
272
+ </div></span>
273
+
274
+ </li>
275
+
276
+
277
+ <li class="public ">
278
+ <span class="summary_signature">
279
+
280
+ <a href="#get!-instance_method" title="#get! (instance method)">#<strong>get!</strong>(id: &quot;&quot;) &#x21d2; NgrokAPI::Models::ApplicationSession </a>
281
+
282
+
283
+
284
+ </span>
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+ <span class="summary_desc"><div class='inline'>
295
+ <p>Get an application session by ID.</p>
296
+ </div></span>
297
+
298
+ </li>
299
+
300
+
301
+ <li class="public ">
302
+ <span class="summary_signature">
303
+
304
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client:) &#x21d2; ApplicationSessionsClient </a>
305
+
306
+
307
+
308
+ </span>
309
+
310
+
311
+ <span class="note title constructor">constructor</span>
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+ <span class="summary_desc"><div class='inline'>
321
+ <p>A new instance of ApplicationSessionsClient.</p>
322
+ </div></span>
323
+
324
+ </li>
325
+
326
+
327
+ <li class="public ">
328
+ <span class="summary_signature">
329
+
330
+ <a href="#list-instance_method" title="#list (instance method)">#<strong>list</strong>(before_id: nil, limit: nil, url: nil) &#x21d2; NgrokAPI::Models::Listable </a>
331
+
332
+
333
+
334
+ </span>
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+ <span class="summary_desc"><div class='inline'>
345
+ <p>List all application sessions for this account.</p>
346
+ </div></span>
347
+
348
+ </li>
349
+
350
+
351
+ <li class="public ">
352
+ <span class="summary_signature">
353
+
354
+ <a href="#list!-instance_method" title="#list! (instance method)">#<strong>list!</strong>(before_id: nil, limit: nil, url: nil) &#x21d2; NgrokAPI::Models::Listable </a>
355
+
356
+
357
+
358
+ </span>
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+ <span class="summary_desc"><div class='inline'>
369
+ <p>List all application sessions for this account.</p>
370
+ </div></span>
371
+
372
+ </li>
373
+
374
+
375
+ </ul>
376
+
377
+
378
+ <div id="constructor_details" class="method_details_list">
379
+ <h2>Constructor Details</h2>
380
+
381
+ <div class="method_details first">
382
+ <h3 class="signature first" id="initialize-instance_method">
383
+
384
+ #<strong>initialize</strong>(client:) &#x21d2; <tt><span class='object_link'><a href="" title="NgrokAPI::Services::ApplicationSessionsClient (class)">ApplicationSessionsClient</a></span></tt>
385
+
386
+
387
+
388
+
389
+
390
+ </h3><div class="docstring">
391
+ <div class="discussion">
392
+
393
+ <p>Returns a new instance of ApplicationSessionsClient.</p>
394
+
395
+
396
+ </div>
397
+ </div>
398
+ <div class="tags">
399
+
400
+
401
+ </div><table class="source_code">
402
+ <tr>
403
+ <td>
404
+ <pre class="lines">
405
+
406
+
407
+ 17
408
+ 18
409
+ 19</pre>
410
+ </td>
411
+ <td>
412
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/application_sessions_client.rb', line 17</span>
413
+
414
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span><span class='rparen'>)</span>
415
+ <span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
416
+ <span class='kw'>end</span></pre>
417
+ </td>
418
+ </tr>
419
+ </table>
420
+ </div>
421
+
422
+ </div>
423
+
424
+ <div id="instance_attr_details" class="attr_details">
425
+ <h2>Instance Attribute Details</h2>
426
+
427
+
428
+ <span id=""></span>
429
+ <div class="method_details first">
430
+ <h3 class="signature first" id="client-instance_method">
431
+
432
+ #<strong>client</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
433
+
434
+
435
+
436
+
437
+
438
+ </h3><div class="docstring">
439
+ <div class="discussion">
440
+
441
+ <p>Returns the value of attribute client.</p>
442
+
443
+
444
+ </div>
445
+ </div>
446
+ <div class="tags">
447
+
448
+
449
+ </div><table class="source_code">
450
+ <tr>
451
+ <td>
452
+ <pre class="lines">
453
+
454
+
455
+ 15
456
+ 16
457
+ 17</pre>
458
+ </td>
459
+ <td>
460
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/application_sessions_client.rb', line 15</span>
461
+
462
+ <span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
463
+ <span class='ivar'>@client</span>
464
+ <span class='kw'>end</span></pre>
465
+ </td>
466
+ </tr>
467
+ </table>
468
+ </div>
469
+
470
+ </div>
471
+
472
+
473
+ <div id="instance_method_details" class="method_details_list">
474
+ <h2>Instance Method Details</h2>
475
+
476
+
477
+ <div class="method_details first">
478
+ <h3 class="signature first" id="delete-instance_method">
479
+
480
+ #<strong>delete</strong>(id: &quot;&quot;) &#x21d2; <tt>NgrokAPI::Models::Empty</tt>
481
+
482
+
483
+
484
+
485
+
486
+ </h3><div class="docstring">
487
+ <div class="discussion">
488
+
489
+ <p>Delete an application session by ID.</p>
490
+
491
+ <p><a href="https://ngrok.com/docs/api#api-application-sessions-delete">ngrok.com/docs/api#api-application-sessions-delete</a></p>
492
+
493
+
494
+ </div>
495
+ </div>
496
+ <div class="tags">
497
+ <p class="tag_title">Parameters:</p>
498
+ <ul class="param">
499
+
500
+ <li>
501
+
502
+ <span class='name'>id</span>
503
+
504
+
505
+ <span class='type'>(<tt>string</tt>)</span>
506
+
507
+
508
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
509
+
510
+
511
+ &mdash;
512
+ <div class='inline'>
513
+ <p>a resource identifier</p>
514
+ </div>
515
+
516
+ </li>
517
+
518
+ </ul>
519
+
520
+ <p class="tag_title">Returns:</p>
521
+ <ul class="return">
522
+
523
+ <li>
524
+
525
+
526
+ <span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
527
+
528
+
529
+
530
+ &mdash;
531
+ <div class='inline'>
532
+ <p>result from the API request</p>
533
+ </div>
534
+
535
+ </li>
536
+
537
+ </ul>
538
+
539
+ </div><table class="source_code">
540
+ <tr>
541
+ <td>
542
+ <pre class="lines">
543
+
544
+
545
+ 63
546
+ 64
547
+ 65
548
+ 66
549
+ 67
550
+ 68
551
+ 69</pre>
552
+ </td>
553
+ <td>
554
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/application_sessions_client.rb', line 63</span>
555
+
556
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
557
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/app/sessions/%{id}</span><span class='tstring_end'>&#39;</span></span>
558
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
559
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
560
+ <span class='rbrace'>}</span>
561
+ <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='rparen'>)</span>
562
+ <span class='kw'>end</span></pre>
563
+ </td>
564
+ </tr>
565
+ </table>
566
+ </div>
567
+
568
+ <div class="method_details ">
569
+ <h3 class="signature " id="delete!-instance_method">
570
+
571
+ #<strong>delete!</strong>(id: &quot;&quot;) &#x21d2; <tt>NgrokAPI::Models::Empty</tt>
572
+
573
+
574
+
575
+
576
+
577
+ </h3><div class="docstring">
578
+ <div class="discussion">
579
+
580
+ <p>Delete an application session by ID. Throws an exception if API error.</p>
581
+
582
+ <p><a href="https://ngrok.com/docs/api#api-application-sessions-delete">ngrok.com/docs/api#api-application-sessions-delete</a></p>
583
+
584
+
585
+ </div>
586
+ </div>
587
+ <div class="tags">
588
+ <p class="tag_title">Parameters:</p>
589
+ <ul class="param">
590
+
591
+ <li>
592
+
593
+ <span class='name'>id</span>
594
+
595
+
596
+ <span class='type'>(<tt>string</tt>)</span>
597
+
598
+
599
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
600
+
601
+
602
+ &mdash;
603
+ <div class='inline'>
604
+ <p>a resource identifier</p>
605
+ </div>
606
+
607
+ </li>
608
+
609
+ </ul>
610
+
611
+ <p class="tag_title">Returns:</p>
612
+ <ul class="return">
613
+
614
+ <li>
615
+
616
+
617
+ <span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
618
+
619
+
620
+
621
+ &mdash;
622
+ <div class='inline'>
623
+ <p>result from the API request</p>
624
+ </div>
625
+
626
+ </li>
627
+
628
+ </ul>
629
+
630
+ </div><table class="source_code">
631
+ <tr>
632
+ <td>
633
+ <pre class="lines">
634
+
635
+
636
+ 79
637
+ 80
638
+ 81
639
+ 82
640
+ 83
641
+ 84
642
+ 85</pre>
643
+ </td>
644
+ <td>
645
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/application_sessions_client.rb', line 79</span>
646
+
647
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete!'>delete!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
648
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/app/sessions/%{id}</span><span class='tstring_end'>&#39;</span></span>
649
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
650
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
651
+ <span class='rbrace'>}</span>
652
+ <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
653
+ <span class='kw'>end</span></pre>
654
+ </td>
655
+ </tr>
656
+ </table>
657
+ </div>
658
+
659
+ <div class="method_details ">
660
+ <h3 class="signature " id="get-instance_method">
661
+
662
+ #<strong>get</strong>(id: &quot;&quot;) &#x21d2; <tt><span class='object_link'><a href="../Models/ApplicationSession.html" title="NgrokAPI::Models::ApplicationSession (class)">NgrokAPI::Models::ApplicationSession</a></span></tt>
663
+
664
+
665
+
666
+
667
+
668
+ </h3><div class="docstring">
669
+ <div class="discussion">
670
+
671
+ <p>Get an application session by ID.</p>
672
+
673
+ <p><a href="https://ngrok.com/docs/api#api-application-sessions-get">ngrok.com/docs/api#api-application-sessions-get</a></p>
674
+
675
+
676
+ </div>
677
+ </div>
678
+ <div class="tags">
679
+ <p class="tag_title">Parameters:</p>
680
+ <ul class="param">
681
+
682
+ <li>
683
+
684
+ <span class='name'>id</span>
685
+
686
+
687
+ <span class='type'>(<tt>string</tt>)</span>
688
+
689
+
690
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
691
+
692
+
693
+ &mdash;
694
+ <div class='inline'>
695
+ <p>a resource identifier</p>
696
+ </div>
697
+
698
+ </li>
699
+
700
+ </ul>
701
+
702
+ <p class="tag_title">Returns:</p>
703
+ <ul class="return">
704
+
705
+ <li>
706
+
707
+
708
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/ApplicationSession.html" title="NgrokAPI::Models::ApplicationSession (class)">NgrokAPI::Models::ApplicationSession</a></span></tt>)</span>
709
+
710
+
711
+
712
+ &mdash;
713
+ <div class='inline'>
714
+ <p>result from the API request</p>
715
+ </div>
716
+
717
+ </li>
718
+
719
+ </ul>
720
+
721
+ </div><table class="source_code">
722
+ <tr>
723
+ <td>
724
+ <pre class="lines">
725
+
726
+
727
+ 28
728
+ 29
729
+ 30
730
+ 31
731
+ 32
732
+ 33
733
+ 34
734
+ 35
735
+ 36</pre>
736
+ </td>
737
+ <td>
738
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/application_sessions_client.rb', line 28</span>
739
+
740
+ <span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
741
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/app/sessions/%{id}</span><span class='tstring_end'>&#39;</span></span>
742
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
743
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
744
+ <span class='rbrace'>}</span>
745
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
746
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
747
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/ApplicationSession.html" title="NgrokAPI::Models::ApplicationSession (class)">ApplicationSession</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/ApplicationSession.html#initialize-instance_method" title="NgrokAPI::Models::ApplicationSession#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
748
+ <span class='kw'>end</span></pre>
749
+ </td>
750
+ </tr>
751
+ </table>
752
+ </div>
753
+
754
+ <div class="method_details ">
755
+ <h3 class="signature " id="get!-instance_method">
756
+
757
+ #<strong>get!</strong>(id: &quot;&quot;) &#x21d2; <tt><span class='object_link'><a href="../Models/ApplicationSession.html" title="NgrokAPI::Models::ApplicationSession (class)">NgrokAPI::Models::ApplicationSession</a></span></tt>
758
+
759
+
760
+
761
+
762
+
763
+ </h3><div class="docstring">
764
+ <div class="discussion">
765
+
766
+ <p>Get an application session by ID. Throws an exception if API error.</p>
767
+
768
+ <p><a href="https://ngrok.com/docs/api#api-application-sessions-get">ngrok.com/docs/api#api-application-sessions-get</a></p>
769
+
770
+
771
+ </div>
772
+ </div>
773
+ <div class="tags">
774
+ <p class="tag_title">Parameters:</p>
775
+ <ul class="param">
776
+
777
+ <li>
778
+
779
+ <span class='name'>id</span>
780
+
781
+
782
+ <span class='type'>(<tt>string</tt>)</span>
783
+
784
+
785
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
786
+
787
+
788
+ &mdash;
789
+ <div class='inline'>
790
+ <p>a resource identifier</p>
791
+ </div>
792
+
793
+ </li>
794
+
795
+ </ul>
796
+
797
+ <p class="tag_title">Returns:</p>
798
+ <ul class="return">
799
+
800
+ <li>
801
+
802
+
803
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/ApplicationSession.html" title="NgrokAPI::Models::ApplicationSession (class)">NgrokAPI::Models::ApplicationSession</a></span></tt>)</span>
804
+
805
+
806
+
807
+ &mdash;
808
+ <div class='inline'>
809
+ <p>result from the API request</p>
810
+ </div>
811
+
812
+ </li>
813
+
814
+ </ul>
815
+
816
+ </div><table class="source_code">
817
+ <tr>
818
+ <td>
819
+ <pre class="lines">
820
+
821
+
822
+ 46
823
+ 47
824
+ 48
825
+ 49
826
+ 50
827
+ 51
828
+ 52
829
+ 53
830
+ 54</pre>
831
+ </td>
832
+ <td>
833
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/application_sessions_client.rb', line 46</span>
834
+
835
+ <span class='kw'>def</span> <span class='id identifier rubyid_get!'>get!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
836
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/app/sessions/%{id}</span><span class='tstring_end'>&#39;</span></span>
837
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
838
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
839
+ <span class='rbrace'>}</span>
840
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
841
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
842
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/ApplicationSession.html" title="NgrokAPI::Models::ApplicationSession (class)">ApplicationSession</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/ApplicationSession.html#initialize-instance_method" title="NgrokAPI::Models::ApplicationSession#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
843
+ <span class='kw'>end</span></pre>
844
+ </td>
845
+ </tr>
846
+ </table>
847
+ </div>
848
+
849
+ <div class="method_details ">
850
+ <h3 class="signature " id="list-instance_method">
851
+
852
+ #<strong>list</strong>(before_id: nil, limit: nil, url: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">NgrokAPI::Models::Listable</a></span></tt>
853
+
854
+
855
+
856
+
857
+
858
+ </h3><div class="docstring">
859
+ <div class="discussion">
860
+
861
+ <p>List all application sessions for this account.</p>
862
+
863
+ <p><a href="https://ngrok.com/docs/api#api-application-sessions-list">ngrok.com/docs/api#api-application-sessions-list</a></p>
864
+
865
+
866
+ </div>
867
+ </div>
868
+ <div class="tags">
869
+ <p class="tag_title">Parameters:</p>
870
+ <ul class="param">
871
+
872
+ <li>
873
+
874
+ <span class='name'>before_id</span>
875
+
876
+
877
+ <span class='type'>(<tt>string</tt>)</span>
878
+
879
+
880
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
881
+
882
+
883
+ </li>
884
+
885
+ <li>
886
+
887
+ <span class='name'>limit</span>
888
+
889
+
890
+ <span class='type'>(<tt>string</tt>)</span>
891
+
892
+
893
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
894
+
895
+
896
+ </li>
897
+
898
+ <li>
899
+
900
+ <span class='name'>url</span>
901
+
902
+
903
+ <span class='type'>(<tt>string</tt>)</span>
904
+
905
+
906
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
907
+
908
+
909
+ &mdash;
910
+ <div class='inline'>
911
+ <p>optional and mutually exclusive from before_id and limit</p>
912
+ </div>
913
+
914
+ </li>
915
+
916
+ </ul>
917
+
918
+ <p class="tag_title">Returns:</p>
919
+ <ul class="return">
920
+
921
+ <li>
922
+
923
+
924
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">NgrokAPI::Models::Listable</a></span></tt>)</span>
925
+
926
+
927
+
928
+ &mdash;
929
+ <div class='inline'>
930
+ <p>result from the API request</p>
931
+ </div>
932
+
933
+ </li>
934
+
935
+ </ul>
936
+
937
+ </div><table class="source_code">
938
+ <tr>
939
+ <td>
940
+ <pre class="lines">
941
+
942
+
943
+ 96
944
+ 97
945
+ 98
946
+ 99
947
+ 100
948
+ 101
949
+ 102
950
+ 103
951
+ 104
952
+ 105
953
+ 106
954
+ 107
955
+ 108
956
+ 109
957
+ 110</pre>
958
+ </td>
959
+ <td>
960
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/application_sessions_client.rb', line 96</span>
961
+
962
+ <span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
963
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
964
+ <span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
965
+ <span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
966
+ <span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span>
967
+ <span class='label'>path:</span> <span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::ApplicationSessionsClient::PATH (constant)">PATH</a></span></span>
968
+ <span class='rparen'>)</span>
969
+
970
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">Listable</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/Listable.html#initialize-instance_method" title="NgrokAPI::Models::Listable#initialize (method)">new</a></span></span><span class='lparen'>(</span>
971
+ <span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
972
+ <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
973
+ <span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::ApplicationSessionsClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
974
+ <span class='label'>klass:</span> <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/ApplicationSession.html" title="NgrokAPI::Models::ApplicationSession (class)">ApplicationSession</a></span></span>
975
+ <span class='rparen'>)</span>
976
+ <span class='kw'>end</span></pre>
977
+ </td>
978
+ </tr>
979
+ </table>
980
+ </div>
981
+
982
+ <div class="method_details ">
983
+ <h3 class="signature " id="list!-instance_method">
984
+
985
+ #<strong>list!</strong>(before_id: nil, limit: nil, url: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">NgrokAPI::Models::Listable</a></span></tt>
986
+
987
+
988
+
989
+
990
+
991
+ </h3><div class="docstring">
992
+ <div class="discussion">
993
+
994
+ <p>List all application sessions for this account. Throws an exception if API error.</p>
995
+
996
+ <p><a href="https://ngrok.com/docs/api#api-application-sessions-list">ngrok.com/docs/api#api-application-sessions-list</a></p>
997
+
998
+
999
+ </div>
1000
+ </div>
1001
+ <div class="tags">
1002
+ <p class="tag_title">Parameters:</p>
1003
+ <ul class="param">
1004
+
1005
+ <li>
1006
+
1007
+ <span class='name'>before_id</span>
1008
+
1009
+
1010
+ <span class='type'>(<tt>string</tt>)</span>
1011
+
1012
+
1013
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1014
+
1015
+
1016
+ </li>
1017
+
1018
+ <li>
1019
+
1020
+ <span class='name'>limit</span>
1021
+
1022
+
1023
+ <span class='type'>(<tt>string</tt>)</span>
1024
+
1025
+
1026
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1027
+
1028
+
1029
+ </li>
1030
+
1031
+ <li>
1032
+
1033
+ <span class='name'>url</span>
1034
+
1035
+
1036
+ <span class='type'>(<tt>string</tt>)</span>
1037
+
1038
+
1039
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1040
+
1041
+
1042
+ &mdash;
1043
+ <div class='inline'>
1044
+ <p>optional and mutually exclusive from before_id and limit</p>
1045
+ </div>
1046
+
1047
+ </li>
1048
+
1049
+ </ul>
1050
+
1051
+ <p class="tag_title">Returns:</p>
1052
+ <ul class="return">
1053
+
1054
+ <li>
1055
+
1056
+
1057
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">NgrokAPI::Models::Listable</a></span></tt>)</span>
1058
+
1059
+
1060
+
1061
+ &mdash;
1062
+ <div class='inline'>
1063
+ <p>result from the API request</p>
1064
+ </div>
1065
+
1066
+ </li>
1067
+
1068
+ </ul>
1069
+
1070
+ </div><table class="source_code">
1071
+ <tr>
1072
+ <td>
1073
+ <pre class="lines">
1074
+
1075
+
1076
+ 122
1077
+ 123
1078
+ 124
1079
+ 125
1080
+ 126
1081
+ 127
1082
+ 128
1083
+ 129
1084
+ 130
1085
+ 131
1086
+ 132
1087
+ 133
1088
+ 134
1089
+ 135
1090
+ 136
1091
+ 137
1092
+ 138</pre>
1093
+ </td>
1094
+ <td>
1095
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/application_sessions_client.rb', line 122</span>
1096
+
1097
+ <span class='kw'>def</span> <span class='id identifier rubyid_list!'>list!</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1098
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
1099
+ <span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
1100
+ <span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
1101
+ <span class='label'>danger:</span> <span class='kw'>true</span><span class='comma'>,</span>
1102
+ <span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span>
1103
+ <span class='label'>path:</span> <span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::ApplicationSessionsClient::PATH (constant)">PATH</a></span></span>
1104
+ <span class='rparen'>)</span>
1105
+
1106
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">Listable</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/Listable.html#initialize-instance_method" title="NgrokAPI::Models::Listable#initialize (method)">new</a></span></span><span class='lparen'>(</span>
1107
+ <span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
1108
+ <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
1109
+ <span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::ApplicationSessionsClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
1110
+ <span class='label'>klass:</span> <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/ApplicationSession.html" title="NgrokAPI::Models::ApplicationSession (class)">ApplicationSession</a></span></span><span class='comma'>,</span>
1111
+ <span class='label'>danger:</span> <span class='kw'>true</span>
1112
+ <span class='rparen'>)</span>
1113
+ <span class='kw'>end</span></pre>
1114
+ </td>
1115
+ </tr>
1116
+ </table>
1117
+ </div>
1118
+
1119
+ </div>
1120
+
1121
+ </div>
1122
+
1123
+ <div id="footer">
1124
+ Generated on Thu Aug 24 20:57:36 2023 by
1125
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1126
+ 0.9.34 (ruby-3.0.6).
1127
+ </div>
1128
+
1129
+ </div>
1130
+ </body>
1131
+ </html>