ngrok-api 0.9.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (413) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/doc/.gitkeep +0 -0
  4. data/doc/NgrokAPI/Client.html +1499 -125
  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 → APIKey.html} +108 -177
  10. data/doc/NgrokAPI/Models/AWSAuth.html +617 -0
  11. data/doc/NgrokAPI/Models/AWSCredentials.html +617 -0
  12. data/doc/NgrokAPI/Models/AWSRole.html +543 -0
  13. data/doc/NgrokAPI/Models/AbuseReport.html +987 -0
  14. data/doc/NgrokAPI/Models/AbuseReportHostname.html +617 -0
  15. data/doc/NgrokAPI/Models/CertificateAuthority.html +1439 -0
  16. data/doc/NgrokAPI/Models/Credential.html +1149 -0
  17. data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +913 -0
  18. data/doc/NgrokAPI/Models/EndpointCompression.html +543 -0
  19. data/doc/NgrokAPI/Models/EndpointConfiguration.html +1321 -510
  20. data/doc/NgrokAPI/Models/EndpointIPPolicy.html +617 -0
  21. data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +617 -0
  22. data/doc/NgrokAPI/Models/EndpointLogging.html +617 -0
  23. data/doc/NgrokAPI/Models/EndpointLoggingMutate.html +617 -0
  24. data/doc/NgrokAPI/Models/EndpointMutualTLS.html +617 -0
  25. data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +617 -0
  26. data/doc/NgrokAPI/Models/EndpointOAuth.html +987 -0
  27. data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +839 -0
  28. data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +987 -0
  29. data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +839 -0
  30. data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +839 -0
  31. data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +765 -0
  32. data/doc/NgrokAPI/Models/EndpointOIDC.html +1135 -0
  33. data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +691 -0
  34. data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +691 -0
  35. data/doc/NgrokAPI/Models/EndpointSAML.html +1653 -0
  36. data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +1283 -0
  37. data/doc/NgrokAPI/Models/EndpointTLSTermination.html +691 -0
  38. data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +691 -0
  39. data/doc/NgrokAPI/Models/EventDestination.html +1058 -0
  40. data/doc/NgrokAPI/Models/EventSource.html +765 -0
  41. data/doc/NgrokAPI/Models/EventSourceReplace.html +691 -0
  42. data/doc/NgrokAPI/Models/EventStream.html +1309 -0
  43. data/doc/NgrokAPI/Models/EventSubscription.html +1058 -0
  44. data/doc/NgrokAPI/Models/EventTarget.html +765 -0
  45. data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +617 -0
  46. data/doc/NgrokAPI/Models/EventTargetFirehose.html +617 -0
  47. data/doc/NgrokAPI/Models/EventTargetKinesis.html +617 -0
  48. data/doc/NgrokAPI/Models/IPPolicy.html +1069 -0
  49. data/doc/NgrokAPI/Models/IPPolicyRule.html +1149 -0
  50. data/doc/NgrokAPI/Models/IPRestriction.html +1132 -0
  51. data/doc/NgrokAPI/Models/{TlsCertificate.html → IPWhitelistEntry.html} +168 -163
  52. data/doc/NgrokAPI/Models/Listable.html +1 -1
  53. data/doc/NgrokAPI/Models/Ref.html +617 -0
  54. data/doc/NgrokAPI/Models/ReservedAddr.html +1132 -0
  55. data/doc/NgrokAPI/Models/ReservedDomain.html +111 -1107
  56. data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +839 -0
  57. data/doc/NgrokAPI/Models/ReservedDomainCertNSTarget.html +617 -0
  58. data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +617 -0
  59. data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +617 -0
  60. data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +1143 -0
  61. data/doc/NgrokAPI/Models/SSHCredential.html +1149 -0
  62. data/doc/NgrokAPI/Models/SSHHostCertificate.html +1513 -0
  63. data/doc/NgrokAPI/Models/SSHUserCertificate.html +1661 -0
  64. data/doc/NgrokAPI/Models/TLSCertificate.html +2179 -0
  65. data/doc/NgrokAPI/Models/TLSCertificateSANs.html +617 -0
  66. data/doc/NgrokAPI/Models/Tunnel.html +987 -0
  67. data/doc/NgrokAPI/Models/TunnelSession.html +1209 -0
  68. data/doc/NgrokAPI/Models.html +4 -4
  69. data/doc/NgrokAPI/PagedIterator.html +1 -1
  70. data/{docs/NgrokAPI/Services/ApiKeysClient.html → doc/NgrokAPI/Services/APIKeysClient.html} +287 -151
  71. data/doc/NgrokAPI/Services/AbuseReportsClient.html +723 -0
  72. data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +1489 -0
  73. data/doc/NgrokAPI/Services/CredentialsClient.html +1534 -0
  74. data/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +1071 -0
  75. data/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html +1071 -0
  76. data/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +473 -371
  77. data/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +1071 -0
  78. data/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html +1071 -0
  79. data/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +1071 -0
  80. data/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html +1071 -0
  81. data/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html +1071 -0
  82. data/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +1071 -0
  83. data/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +1071 -0
  84. data/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html +1071 -0
  85. data/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +1071 -0
  86. data/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +1071 -0
  87. data/doc/NgrokAPI/Services/EventDestinationsClient.html +1609 -0
  88. data/doc/NgrokAPI/Services/EventSourcesClient.html +1348 -0
  89. data/doc/NgrokAPI/Services/EventStreamsClient.html +1691 -0
  90. data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +1603 -0
  91. data/doc/NgrokAPI/Services/IPPoliciesClient.html +1488 -0
  92. data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +1550 -0
  93. data/doc/NgrokAPI/Services/IPRestrictionsClient.html +1620 -0
  94. data/doc/NgrokAPI/Services/IPWhitelistClient.html +1488 -0
  95. data/doc/NgrokAPI/Services/ReservedAddrsClient.html +1793 -0
  96. data/doc/NgrokAPI/Services/ReservedDomainsClient.html +518 -333
  97. data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +1532 -0
  98. data/doc/NgrokAPI/Services/SSHCredentialsClient.html +1552 -0
  99. data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +1573 -0
  100. data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +1617 -0
  101. data/{docs/NgrokAPI/Services/TlsCertificatesClient.html → doc/NgrokAPI/Services/TLSCertificatesClient.html} +290 -198
  102. data/doc/NgrokAPI/Services/TunnelSessionsClient.html +1468 -0
  103. data/doc/NgrokAPI/Services/TunnelsClient.html +513 -0
  104. data/doc/NgrokAPI/Services.html +4 -4
  105. data/doc/NgrokAPI.html +3 -3
  106. data/doc/_index.html +624 -28
  107. data/doc/class_list.html +1 -1
  108. data/doc/file.README.html +1 -1
  109. data/doc/index.html +1 -1
  110. data/doc/method_list.html +7318 -286
  111. data/doc/top-level-namespace.html +1 -1
  112. data/docs/.gitkeep +0 -0
  113. data/docs/NgrokAPI/Client.html +1499 -125
  114. data/docs/NgrokAPI/Error.html +1 -1
  115. data/docs/NgrokAPI/Errors/NotFoundError.html +1 -1
  116. data/docs/NgrokAPI/Errors.html +1 -1
  117. data/docs/NgrokAPI/HttpClient.html +1 -1
  118. data/docs/NgrokAPI/Models/{ApiKey.html → APIKey.html} +108 -177
  119. data/docs/NgrokAPI/Models/AWSAuth.html +617 -0
  120. data/docs/NgrokAPI/Models/AWSCredentials.html +617 -0
  121. data/docs/NgrokAPI/Models/AWSRole.html +543 -0
  122. data/docs/NgrokAPI/Models/AbuseReport.html +987 -0
  123. data/docs/NgrokAPI/Models/AbuseReportHostname.html +617 -0
  124. data/docs/NgrokAPI/Models/CertificateAuthority.html +1439 -0
  125. data/docs/NgrokAPI/Models/Credential.html +1149 -0
  126. data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +913 -0
  127. data/docs/NgrokAPI/Models/EndpointCompression.html +543 -0
  128. data/docs/NgrokAPI/Models/EndpointConfiguration.html +1321 -510
  129. data/docs/NgrokAPI/Models/EndpointIPPolicy.html +617 -0
  130. data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +617 -0
  131. data/docs/NgrokAPI/Models/EndpointLogging.html +617 -0
  132. data/docs/NgrokAPI/Models/EndpointLoggingMutate.html +617 -0
  133. data/docs/NgrokAPI/Models/EndpointMutualTLS.html +617 -0
  134. data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +617 -0
  135. data/docs/NgrokAPI/Models/EndpointOAuth.html +987 -0
  136. data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +839 -0
  137. data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +987 -0
  138. data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +839 -0
  139. data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +839 -0
  140. data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +765 -0
  141. data/docs/NgrokAPI/Models/EndpointOIDC.html +1135 -0
  142. data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +691 -0
  143. data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +691 -0
  144. data/docs/NgrokAPI/Models/EndpointSAML.html +1653 -0
  145. data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +1283 -0
  146. data/docs/NgrokAPI/Models/EndpointTLSTermination.html +691 -0
  147. data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +691 -0
  148. data/docs/NgrokAPI/Models/EventDestination.html +1058 -0
  149. data/docs/NgrokAPI/Models/EventSource.html +765 -0
  150. data/docs/NgrokAPI/Models/EventSourceReplace.html +691 -0
  151. data/docs/NgrokAPI/Models/EventStream.html +1309 -0
  152. data/docs/NgrokAPI/Models/EventSubscription.html +1058 -0
  153. data/docs/NgrokAPI/Models/EventTarget.html +765 -0
  154. data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +617 -0
  155. data/docs/NgrokAPI/Models/EventTargetFirehose.html +617 -0
  156. data/docs/NgrokAPI/Models/EventTargetKinesis.html +617 -0
  157. data/docs/NgrokAPI/Models/IPPolicy.html +1069 -0
  158. data/docs/NgrokAPI/Models/IPPolicyRule.html +1149 -0
  159. data/docs/NgrokAPI/Models/IPRestriction.html +1132 -0
  160. data/docs/NgrokAPI/Models/{TlsCertificate.html → IPWhitelistEntry.html} +168 -163
  161. data/docs/NgrokAPI/Models/Listable.html +1 -1
  162. data/docs/NgrokAPI/Models/Ref.html +617 -0
  163. data/docs/NgrokAPI/Models/ReservedAddr.html +1132 -0
  164. data/docs/NgrokAPI/Models/ReservedDomain.html +111 -1107
  165. data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +839 -0
  166. data/docs/NgrokAPI/Models/ReservedDomainCertNSTarget.html +617 -0
  167. data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +617 -0
  168. data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +617 -0
  169. data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +1143 -0
  170. data/docs/NgrokAPI/Models/SSHCredential.html +1149 -0
  171. data/docs/NgrokAPI/Models/SSHHostCertificate.html +1513 -0
  172. data/docs/NgrokAPI/Models/SSHUserCertificate.html +1661 -0
  173. data/docs/NgrokAPI/Models/TLSCertificate.html +2179 -0
  174. data/docs/NgrokAPI/Models/TLSCertificateSANs.html +617 -0
  175. data/docs/NgrokAPI/Models/Tunnel.html +987 -0
  176. data/docs/NgrokAPI/Models/TunnelSession.html +1209 -0
  177. data/docs/NgrokAPI/Models.html +4 -4
  178. data/docs/NgrokAPI/PagedIterator.html +1 -1
  179. data/{doc/NgrokAPI/Services/ApiKeysClient.html → docs/NgrokAPI/Services/APIKeysClient.html} +287 -151
  180. data/docs/NgrokAPI/Services/AbuseReportsClient.html +723 -0
  181. data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +1489 -0
  182. data/docs/NgrokAPI/Services/CredentialsClient.html +1534 -0
  183. data/docs/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +1071 -0
  184. data/docs/NgrokAPI/Services/EndpointCompressionModuleClient.html +1071 -0
  185. data/docs/NgrokAPI/Services/EndpointConfigurationsClient.html +473 -371
  186. data/docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +1071 -0
  187. data/docs/NgrokAPI/Services/EndpointLoggingModuleClient.html +1071 -0
  188. data/docs/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +1071 -0
  189. data/docs/NgrokAPI/Services/EndpointOAuthModuleClient.html +1071 -0
  190. data/docs/NgrokAPI/Services/EndpointOIDCModuleClient.html +1071 -0
  191. data/docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +1071 -0
  192. data/docs/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +1071 -0
  193. data/docs/NgrokAPI/Services/EndpointSAMLModuleClient.html +1071 -0
  194. data/docs/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +1071 -0
  195. data/docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +1071 -0
  196. data/docs/NgrokAPI/Services/EventDestinationsClient.html +1609 -0
  197. data/docs/NgrokAPI/Services/EventSourcesClient.html +1348 -0
  198. data/docs/NgrokAPI/Services/EventStreamsClient.html +1691 -0
  199. data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +1603 -0
  200. data/docs/NgrokAPI/Services/IPPoliciesClient.html +1488 -0
  201. data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +1550 -0
  202. data/docs/NgrokAPI/Services/IPRestrictionsClient.html +1620 -0
  203. data/docs/NgrokAPI/Services/IPWhitelistClient.html +1488 -0
  204. data/docs/NgrokAPI/Services/ReservedAddrsClient.html +1793 -0
  205. data/docs/NgrokAPI/Services/ReservedDomainsClient.html +518 -333
  206. data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +1532 -0
  207. data/docs/NgrokAPI/Services/SSHCredentialsClient.html +1552 -0
  208. data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +1573 -0
  209. data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +1617 -0
  210. data/{doc/NgrokAPI/Services/TlsCertificatesClient.html → docs/NgrokAPI/Services/TLSCertificatesClient.html} +290 -198
  211. data/docs/NgrokAPI/Services/TunnelSessionsClient.html +1468 -0
  212. data/docs/NgrokAPI/Services/TunnelsClient.html +513 -0
  213. data/docs/NgrokAPI/Services.html +4 -4
  214. data/docs/NgrokAPI.html +3 -3
  215. data/docs/_index.html +624 -28
  216. data/docs/class_list.html +1 -1
  217. data/docs/file.README.html +1 -1
  218. data/docs/index.html +1 -1
  219. data/docs/method_list.html +7318 -286
  220. data/docs/top-level-namespace.html +1 -1
  221. data/lib/ngrokapi/client.rb +218 -49
  222. data/lib/ngrokapi/models/abuse_report.rb +37 -0
  223. data/lib/ngrokapi/models/abuse_report_hostname.rb +27 -0
  224. data/lib/ngrokapi/models/api_key.rb +62 -64
  225. data/lib/ngrokapi/models/aws_auth.rb +27 -0
  226. data/lib/ngrokapi/models/aws_credentials.rb +27 -0
  227. data/lib/ngrokapi/models/aws_role.rb +25 -0
  228. data/lib/ngrokapi/models/certificate_authority.rb +72 -0
  229. data/lib/ngrokapi/models/credential.rb +67 -0
  230. data/lib/ngrokapi/models/endpoint_circuit_breaker.rb +35 -0
  231. data/lib/ngrokapi/models/endpoint_compression.rb +25 -0
  232. data/lib/ngrokapi/models/endpoint_configuration.rb +130 -119
  233. data/lib/ngrokapi/models/endpoint_ip_policy.rb +27 -0
  234. data/lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +27 -0
  235. data/lib/ngrokapi/models/endpoint_logging.rb +27 -0
  236. data/lib/ngrokapi/models/endpoint_logging_mutate.rb +27 -0
  237. data/lib/ngrokapi/models/endpoint_mutual_tls.rb +27 -0
  238. data/lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +27 -0
  239. data/lib/ngrokapi/models/endpoint_o_auth.rb +37 -0
  240. data/lib/ngrokapi/models/endpoint_o_auth_facebook.rb +33 -0
  241. data/lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +37 -0
  242. data/lib/ngrokapi/models/endpoint_o_auth_google.rb +33 -0
  243. data/lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +33 -0
  244. data/lib/ngrokapi/models/endpoint_o_auth_provider.rb +31 -0
  245. data/lib/ngrokapi/models/endpoint_oidc.rb +41 -0
  246. data/lib/ngrokapi/models/endpoint_request_headers.rb +29 -0
  247. data/lib/ngrokapi/models/endpoint_response_headers.rb +29 -0
  248. data/lib/ngrokapi/models/endpoint_saml.rb +55 -0
  249. data/lib/ngrokapi/models/endpoint_saml_mutate.rb +45 -0
  250. data/lib/ngrokapi/models/endpoint_tls_termination.rb +29 -0
  251. data/lib/ngrokapi/models/endpoint_webhook_validation.rb +29 -0
  252. data/lib/ngrokapi/models/event_destination.rb +49 -0
  253. data/lib/ngrokapi/models/event_source.rb +31 -0
  254. data/lib/ngrokapi/models/event_source_replace.rb +29 -0
  255. data/lib/ngrokapi/models/event_stream.rb +77 -0
  256. data/lib/ngrokapi/models/event_subscription.rb +47 -0
  257. data/lib/ngrokapi/models/event_target.rb +31 -0
  258. data/lib/ngrokapi/models/event_target_cloudwatch_logs.rb +27 -0
  259. data/lib/ngrokapi/models/event_target_firehose.rb +27 -0
  260. data/lib/ngrokapi/models/event_target_kinesis.rb +27 -0
  261. data/lib/ngrokapi/models/ip_policy.rb +64 -0
  262. data/lib/ngrokapi/models/ip_policy_rule.rb +67 -0
  263. data/lib/ngrokapi/models/ip_restriction.rb +49 -0
  264. data/lib/ngrokapi/models/ip_whitelist_entry.rb +62 -0
  265. data/lib/ngrokapi/models/ref.rb +27 -0
  266. data/lib/ngrokapi/models/reserved_addr.rb +49 -0
  267. data/lib/ngrokapi/models/reserved_domain.rb +59 -211
  268. data/lib/ngrokapi/models/reserved_domain_cert_job.rb +33 -0
  269. data/lib/ngrokapi/models/reserved_domain_cert_ns_target.rb +27 -0
  270. data/lib/ngrokapi/models/reserved_domain_cert_policy.rb +27 -0
  271. data/lib/ngrokapi/models/reserved_domain_cert_status.rb +27 -0
  272. data/lib/ngrokapi/models/ssh_certificate_authority.rb +64 -0
  273. data/lib/ngrokapi/models/ssh_credential.rb +67 -0
  274. data/lib/ngrokapi/models/ssh_host_certificate.rb +74 -0
  275. data/lib/ngrokapi/models/ssh_user_certificate.rb +78 -0
  276. data/lib/ngrokapi/models/tls_certificate.rb +92 -62
  277. data/lib/ngrokapi/models/tls_certificate_sa_ns.rb +27 -0
  278. data/lib/ngrokapi/models/tunnel.rb +37 -0
  279. data/lib/ngrokapi/models/tunnel_session.rb +43 -0
  280. data/lib/ngrokapi/services/.gitkeep +0 -0
  281. data/lib/ngrokapi/services/abuse_reports_client.rb +84 -0
  282. data/lib/ngrokapi/services/api_keys_client.rb +203 -144
  283. data/lib/ngrokapi/services/certificate_authorities_client.rb +204 -0
  284. data/lib/ngrokapi/services/credentials_client.rb +212 -0
  285. data/lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +122 -0
  286. data/lib/ngrokapi/services/endpoint_compression_module_client.rb +122 -0
  287. data/lib/ngrokapi/services/endpoint_configurations_client.rb +324 -313
  288. data/lib/ngrokapi/services/endpoint_ip_policy_module_client.rb +122 -0
  289. data/lib/ngrokapi/services/endpoint_logging_module_client.rb +122 -0
  290. data/lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb +122 -0
  291. data/lib/ngrokapi/services/endpoint_o_auth_module_client.rb +122 -0
  292. data/lib/ngrokapi/services/endpoint_oidc_module_client.rb +122 -0
  293. data/lib/ngrokapi/services/endpoint_request_headers_module_client.rb +122 -0
  294. data/lib/ngrokapi/services/endpoint_response_headers_module_client.rb +122 -0
  295. data/lib/ngrokapi/services/endpoint_saml_module_client.rb +122 -0
  296. data/lib/ngrokapi/services/endpoint_tls_termination_module_client.rb +122 -0
  297. data/lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +122 -0
  298. data/lib/ngrokapi/services/event_destinations_client.rb +222 -0
  299. data/lib/ngrokapi/services/event_sources_client.rb +177 -0
  300. data/lib/ngrokapi/services/event_streams_client.rb +226 -0
  301. data/lib/ngrokapi/services/event_subscriptions_client.rb +213 -0
  302. data/lib/ngrokapi/services/ip_policies_client.rb +208 -0
  303. data/lib/ngrokapi/services/ip_policy_rules_client.rb +210 -0
  304. data/lib/ngrokapi/services/ip_restrictions_client.rb +223 -0
  305. data/lib/ngrokapi/services/ip_whitelist_client.rb +202 -0
  306. data/lib/ngrokapi/services/reserved_addrs_client.rb +246 -0
  307. data/lib/ngrokapi/services/reserved_domains_client.rb +382 -313
  308. data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +207 -0
  309. data/lib/ngrokapi/services/ssh_credentials_client.rb +211 -0
  310. data/lib/ngrokapi/services/ssh_host_certificates_client.rb +214 -0
  311. data/lib/ngrokapi/services/ssh_user_certificates_client.rb +220 -0
  312. data/lib/ngrokapi/services/tls_certificates_client.rb +207 -161
  313. data/lib/ngrokapi/services/tunnel_sessions_client.rb +228 -0
  314. data/lib/ngrokapi/services/tunnels_client.rb +51 -0
  315. data/lib/ngrokapi/version.rb +1 -1
  316. data/spec/ngrokapi/client_spec.rb +139 -33
  317. data/spec/ngrokapi/models/abuse_report_hostname_spec.rb +21 -0
  318. data/spec/ngrokapi/models/abuse_report_spec.rb +21 -0
  319. data/spec/ngrokapi/models/api_key_spec.rb +42 -43
  320. data/spec/ngrokapi/models/aws_auth_spec.rb +21 -0
  321. data/spec/ngrokapi/models/aws_credentials_spec.rb +21 -0
  322. data/spec/ngrokapi/models/aws_role_spec.rb +21 -0
  323. data/spec/ngrokapi/models/certificate_authority_spec.rb +42 -0
  324. data/spec/ngrokapi/models/credential_spec.rb +45 -0
  325. data/spec/ngrokapi/models/endpoint_circuit_breaker_spec.rb +21 -0
  326. data/spec/ngrokapi/models/endpoint_compression_spec.rb +21 -0
  327. data/spec/ngrokapi/models/endpoint_configuration_spec.rb +78 -0
  328. data/spec/ngrokapi/models/endpoint_ip_policy_mutate_spec.rb +21 -0
  329. data/spec/ngrokapi/models/endpoint_ip_policy_spec.rb +21 -0
  330. data/spec/ngrokapi/models/endpoint_logging_mutate_spec.rb +21 -0
  331. data/spec/ngrokapi/models/endpoint_logging_spec.rb +21 -0
  332. data/spec/ngrokapi/models/endpoint_mutual_tls_mutate_spec.rb +21 -0
  333. data/spec/ngrokapi/models/endpoint_mutual_tls_spec.rb +21 -0
  334. data/spec/ngrokapi/models/endpoint_o_auth_facebook_spec.rb +21 -0
  335. data/spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb +21 -0
  336. data/spec/ngrokapi/models/endpoint_o_auth_google_spec.rb +21 -0
  337. data/spec/ngrokapi/models/endpoint_o_auth_microsoft_spec.rb +21 -0
  338. data/spec/ngrokapi/models/endpoint_o_auth_provider_spec.rb +21 -0
  339. data/spec/ngrokapi/models/endpoint_o_auth_spec.rb +21 -0
  340. data/spec/ngrokapi/models/endpoint_oidc_spec.rb +21 -0
  341. data/spec/ngrokapi/models/endpoint_request_headers_spec.rb +21 -0
  342. data/spec/ngrokapi/models/endpoint_response_headers_spec.rb +21 -0
  343. data/spec/ngrokapi/models/endpoint_saml_mutate_spec.rb +21 -0
  344. data/spec/ngrokapi/models/endpoint_saml_spec.rb +21 -0
  345. data/spec/ngrokapi/models/endpoint_tls_termination_spec.rb +21 -0
  346. data/spec/ngrokapi/models/endpoint_webhook_validation_spec.rb +21 -0
  347. data/spec/ngrokapi/models/event_destination_spec.rb +28 -0
  348. data/spec/ngrokapi/models/event_source_replace_spec.rb +21 -0
  349. data/spec/ngrokapi/models/event_source_spec.rb +21 -0
  350. data/spec/ngrokapi/models/event_stream_spec.rb +51 -0
  351. data/spec/ngrokapi/models/event_subscription_spec.rb +28 -0
  352. data/spec/ngrokapi/models/event_target_cloudwatch_logs_spec.rb +21 -0
  353. data/spec/ngrokapi/models/event_target_firehose_spec.rb +21 -0
  354. data/spec/ngrokapi/models/event_target_kinesis_spec.rb +21 -0
  355. data/spec/ngrokapi/models/event_target_spec.rb +21 -0
  356. data/spec/ngrokapi/models/ip_policy_rule_spec.rb +45 -0
  357. data/spec/ngrokapi/models/ip_policy_spec.rb +42 -0
  358. data/spec/ngrokapi/models/ip_restriction_spec.rb +28 -0
  359. data/spec/ngrokapi/models/ip_whitelist_entry_spec.rb +42 -0
  360. data/spec/ngrokapi/models/listable_spec.rb +4 -4
  361. data/spec/ngrokapi/models/ref_spec.rb +21 -0
  362. data/spec/ngrokapi/models/reserved_addr_spec.rb +28 -0
  363. data/spec/ngrokapi/models/reserved_domain_cert_job_spec.rb +21 -0
  364. data/spec/ngrokapi/models/reserved_domain_cert_ns_target_spec.rb +21 -0
  365. data/spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb +21 -0
  366. data/spec/ngrokapi/models/reserved_domain_cert_status_spec.rb +21 -0
  367. data/spec/ngrokapi/models/reserved_domain_spec.rb +28 -100
  368. data/spec/ngrokapi/models/ssh_certificate_authority_spec.rb +42 -0
  369. data/spec/ngrokapi/models/ssh_credential_spec.rb +45 -0
  370. data/spec/ngrokapi/models/ssh_host_certificate_spec.rb +42 -0
  371. data/spec/ngrokapi/models/ssh_user_certificate_spec.rb +42 -0
  372. data/spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb +21 -0
  373. data/spec/ngrokapi/models/tls_certificate_spec.rb +42 -0
  374. data/spec/ngrokapi/models/tunnel_session_spec.rb +21 -0
  375. data/spec/ngrokapi/models/tunnel_spec.rb +21 -0
  376. data/spec/ngrokapi/paged_iterator_spec.rb +5 -5
  377. data/spec/ngrokapi/services/.gitkeep +0 -0
  378. data/spec/ngrokapi/services/abuse_reports_client_spec.rb +67 -0
  379. data/spec/ngrokapi/services/api_keys_client_spec.rb +160 -127
  380. data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +162 -0
  381. data/spec/ngrokapi/services/credentials_client_spec.rb +166 -0
  382. data/spec/ngrokapi/services/endpoint_circuit_breaker_module_client_spec.rb +127 -0
  383. data/spec/ngrokapi/services/endpoint_compression_module_client_spec.rb +127 -0
  384. data/spec/ngrokapi/services/endpoint_configurations_client_spec.rb +240 -0
  385. data/spec/ngrokapi/services/endpoint_ip_policy_module_client_spec.rb +127 -0
  386. data/spec/ngrokapi/services/endpoint_logging_module_client_spec.rb +127 -0
  387. data/spec/ngrokapi/services/endpoint_mutual_tls_module_client_spec.rb +127 -0
  388. data/spec/ngrokapi/services/endpoint_o_auth_module_client_spec.rb +127 -0
  389. data/spec/ngrokapi/services/endpoint_oidc_module_client_spec.rb +127 -0
  390. data/spec/ngrokapi/services/endpoint_request_headers_module_client_spec.rb +127 -0
  391. data/spec/ngrokapi/services/endpoint_response_headers_module_client_spec.rb +127 -0
  392. data/spec/ngrokapi/services/endpoint_saml_module_client_spec.rb +127 -0
  393. data/spec/ngrokapi/services/endpoint_tls_termination_module_client_spec.rb +127 -0
  394. data/spec/ngrokapi/services/endpoint_webhook_validation_module_client_spec.rb +127 -0
  395. data/spec/ngrokapi/services/event_destinations_client_spec.rb +175 -0
  396. data/spec/ngrokapi/services/event_sources_client_spec.rb +162 -0
  397. data/spec/ngrokapi/services/event_streams_client_spec.rb +180 -0
  398. data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +172 -0
  399. data/spec/ngrokapi/services/ip_policies_client_spec.rb +162 -0
  400. data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +168 -0
  401. data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +174 -0
  402. data/spec/ngrokapi/services/ip_whitelist_client_spec.rb +162 -0
  403. data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +209 -0
  404. data/spec/ngrokapi/services/reserved_domains_client_spec.rb +352 -0
  405. data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +166 -0
  406. data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +168 -0
  407. data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +170 -0
  408. data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +174 -0
  409. data/spec/ngrokapi/services/tls_certificates_client_spec.rb +164 -0
  410. data/spec/ngrokapi/services/tunnel_sessions_client_spec.rb +184 -0
  411. data/spec/ngrokapi/services/tunnels_client_spec.rb +21 -0
  412. data/spec/spec_helper.rb +958 -0
  413. metadata +355 -10
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Class: NgrokAPI::Services::TlsCertificatesClient
7
+ Class: NgrokAPI::Services::TLSCertificatesClient
8
8
 
9
9
  &mdash; Documentation by YARD 0.9.26
10
10
 
@@ -15,7 +15,7 @@
15
15
  <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
16
 
17
17
  <script type="text/javascript">
18
- pathId = "NgrokAPI::Services::TlsCertificatesClient";
18
+ pathId = "NgrokAPI::Services::TLSCertificatesClient";
19
19
  relpath = '../../';
20
20
  </script>
21
21
 
@@ -39,7 +39,7 @@
39
39
  <a href="../../_index.html">Index (T)</a> &raquo;
40
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
41
  &raquo;
42
- <span class="title">TlsCertificatesClient</span>
42
+ <span class="title">TLSCertificatesClient</span>
43
43
 
44
44
  </div>
45
45
 
@@ -59,7 +59,7 @@
59
59
  <div class="clear"></div>
60
60
  </div>
61
61
 
62
- <div id="content"><h1>Class: NgrokAPI::Services::TlsCertificatesClient
62
+ <div id="content"><h1>Class: NgrokAPI::Services::TLSCertificatesClient
63
63
 
64
64
 
65
65
 
@@ -74,7 +74,7 @@
74
74
  <ul class="fullTree">
75
75
  <li>Object</li>
76
76
 
77
- <li class="next">NgrokAPI::Services::TlsCertificatesClient</li>
77
+ <li class="next">NgrokAPI::Services::TLSCertificatesClient</li>
78
78
 
79
79
  </ul>
80
80
  <a href="#" class="inheritanceTree">show all</a>
@@ -102,7 +102,13 @@
102
102
  <h2>Overview</h2><div class="docstring">
103
103
  <div class="discussion">
104
104
 
105
- <p>A client for interacting with the tls_certificates API</p>
105
+ <p>TLS Certificates are pairs of x509 certificates and their matching private</p>
106
+
107
+ <pre class="code ruby"><code class="ruby">key that can be used to terminate TLS traffic. TLS certificates are unused
108
+ until they are attached to a Domain. TLS Certificates may also be
109
+ provisioned by ngrok automatically for domains on which you have enabled
110
+ automated certificate provisioning.
111
+ </code></pre>
106
112
 
107
113
  <p><a href="https://ngrok.com/docs/api#api-tls-certificates">ngrok.com/docs/api#api-tls-certificates</a></p>
108
114
 
@@ -121,11 +127,11 @@
121
127
 
122
128
  <dl class="constants">
123
129
 
124
- <dt id="LIST_PROPERTY-constant" class="">LIST_PROPERTY =
130
+ <dt id="PATH-constant" class="">PATH =
125
131
  <div class="docstring">
126
132
  <div class="discussion">
127
133
 
128
- <p>The List Property from the resulting API for list calls</p>
134
+ <p>The API path for the requests</p>
129
135
 
130
136
 
131
137
  </div>
@@ -135,13 +141,13 @@
135
141
 
136
142
  </div>
137
143
  </dt>
138
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>tls_certificates</span><span class='tstring_end'>&#39;</span></span></pre></dd>
144
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/tls_certificates</span><span class='tstring_end'>&#39;</span></span></pre></dd>
139
145
 
140
- <dt id="PATH-constant" class="">PATH =
146
+ <dt id="LIST_PROPERTY-constant" class="">LIST_PROPERTY =
141
147
  <div class="docstring">
142
148
  <div class="discussion">
143
149
 
144
- <p>The API path for tls certificates</p>
150
+ <p>The List Property from the resulting API for list calls</p>
145
151
 
146
152
 
147
153
  </div>
@@ -151,7 +157,7 @@
151
157
 
152
158
  </div>
153
159
  </dt>
154
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/tls_certificates</span><span class='tstring_end'>&#39;</span></span></pre></dd>
160
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>tls_certificates</span><span class='tstring_end'>&#39;</span></span></pre></dd>
155
161
 
156
162
  </dl>
157
163
 
@@ -207,7 +213,7 @@
207
213
  <li class="public ">
208
214
  <span class="summary_signature">
209
215
 
210
- <a href="#create-instance_method" title="#create (instance method)">#<strong>create</strong>(certificate_pem: &#39;&#39;, description: &#39;&#39;, metadata: &#39;&#39;, private_key_pem: &#39;&#39;) &#x21d2; NgrokAPI::Models::TlsCertificate </a>
216
+ <a href="#create-instance_method" title="#create (instance method)">#<strong>create</strong>(description: &quot;&quot;, metadata: &quot;&quot;, certificate_pem:, private_key_pem:) &#x21d2; NgrokAPI::Models::TLSCertificate </a>
211
217
 
212
218
 
213
219
 
@@ -231,7 +237,7 @@
231
237
  <li class="public ">
232
238
  <span class="summary_signature">
233
239
 
234
- <a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong>(id: nil) &#x21d2; nil </a>
240
+ <a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong>(id: &quot;&quot;) &#x21d2; NgrokAPI::Models::Empty </a>
235
241
 
236
242
 
237
243
 
@@ -246,7 +252,7 @@
246
252
 
247
253
 
248
254
  <span class="summary_desc"><div class='inline'>
249
- <p>Delete a TLS certificate by ID.</p>
255
+ <p>Delete a TLS certificate.</p>
250
256
  </div></span>
251
257
 
252
258
  </li>
@@ -255,7 +261,7 @@
255
261
  <li class="public ">
256
262
  <span class="summary_signature">
257
263
 
258
- <a href="#delete!-instance_method" title="#delete! (instance method)">#<strong>delete!</strong>(id: nil) &#x21d2; nil </a>
264
+ <a href="#delete!-instance_method" title="#delete! (instance method)">#<strong>delete!</strong>(id: &quot;&quot;) &#x21d2; NgrokAPI::Models::Empty </a>
259
265
 
260
266
 
261
267
 
@@ -270,7 +276,7 @@
270
276
 
271
277
 
272
278
  <span class="summary_desc"><div class='inline'>
273
- <p>Delete a TLS certificate by ID.</p>
279
+ <p>Delete a TLS certificate Throws an exception if API error.</p>
274
280
  </div></span>
275
281
 
276
282
  </li>
@@ -279,7 +285,7 @@
279
285
  <li class="public ">
280
286
  <span class="summary_signature">
281
287
 
282
- <a href="#get-instance_method" title="#get (instance method)">#<strong>get</strong>(id: nil) &#x21d2; NgrokAPI::Models::TlsCertificate </a>
288
+ <a href="#get-instance_method" title="#get (instance method)">#<strong>get</strong>(id: &quot;&quot;) &#x21d2; NgrokAPI::Models::TLSCertificate </a>
283
289
 
284
290
 
285
291
 
@@ -294,7 +300,7 @@
294
300
 
295
301
 
296
302
  <span class="summary_desc"><div class='inline'>
297
- <p>Get detailed information about a TLS certificate by ID.</p>
303
+ <p>Get detailed information about a TLS certificate.</p>
298
304
  </div></span>
299
305
 
300
306
  </li>
@@ -303,7 +309,7 @@
303
309
  <li class="public ">
304
310
  <span class="summary_signature">
305
311
 
306
- <a href="#get!-instance_method" title="#get! (instance method)">#<strong>get!</strong>(id: nil) &#x21d2; NgrokAPI::Models::TlsCertificate </a>
312
+ <a href="#get!-instance_method" title="#get! (instance method)">#<strong>get!</strong>(id: &quot;&quot;) &#x21d2; NgrokAPI::Models::TLSCertificate </a>
307
313
 
308
314
 
309
315
 
@@ -318,7 +324,7 @@
318
324
 
319
325
 
320
326
  <span class="summary_desc"><div class='inline'>
321
- <p>Get detailed information about a TLS certificate by ID.</p>
327
+ <p>Get detailed information about a TLS certificate Throws an exception if API error.</p>
322
328
  </div></span>
323
329
 
324
330
  </li>
@@ -327,7 +333,7 @@
327
333
  <li class="public ">
328
334
  <span class="summary_signature">
329
335
 
330
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client:) &#x21d2; TlsCertificatesClient </a>
336
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client:) &#x21d2; TLSCertificatesClient </a>
331
337
 
332
338
 
333
339
 
@@ -344,7 +350,7 @@
344
350
 
345
351
 
346
352
  <span class="summary_desc"><div class='inline'>
347
- <p>A new instance of TlsCertificatesClient.</p>
353
+ <p>A new instance of TLSCertificatesClient.</p>
348
354
  </div></span>
349
355
 
350
356
  </li>
@@ -377,7 +383,7 @@
377
383
  <li class="public ">
378
384
  <span class="summary_signature">
379
385
 
380
- <a href="#update-instance_method" title="#update (instance method)">#<strong>update</strong>(id: nil, description: nil, metadata: nil) &#x21d2; NgrokAPI::Models::TlsCertificate </a>
386
+ <a href="#update-instance_method" title="#update (instance method)">#<strong>update</strong>(id: &quot;&quot;, description: nil, metadata: nil) &#x21d2; NgrokAPI::Models::TLSCertificate </a>
381
387
 
382
388
 
383
389
 
@@ -401,7 +407,7 @@
401
407
  <li class="public ">
402
408
  <span class="summary_signature">
403
409
 
404
- <a href="#update!-instance_method" title="#update! (instance method)">#<strong>update!</strong>(id: nil, description: nil, metadata: nil) &#x21d2; NgrokAPI::Models::TlsCertificate </a>
410
+ <a href="#update!-instance_method" title="#update! (instance method)">#<strong>update!</strong>(id: &quot;&quot;, description: nil, metadata: nil) &#x21d2; NgrokAPI::Models::TLSCertificate </a>
405
411
 
406
412
 
407
413
 
@@ -416,7 +422,7 @@
416
422
 
417
423
 
418
424
  <span class="summary_desc"><div class='inline'>
419
- <p>Update attributes of a TLS Certificate by ID.</p>
425
+ <p>Update attributes of a TLS Certificate by ID Throws an exception if API error.</p>
420
426
  </div></span>
421
427
 
422
428
  </li>
@@ -431,7 +437,7 @@
431
437
  <div class="method_details first">
432
438
  <h3 class="signature first" id="initialize-instance_method">
433
439
 
434
- #<strong>initialize</strong>(client:) &#x21d2; <tt><span class='object_link'><a href="" title="NgrokAPI::Services::TlsCertificatesClient (class)">TlsCertificatesClient</a></span></tt>
440
+ #<strong>initialize</strong>(client:) &#x21d2; <tt><span class='object_link'><a href="" title="NgrokAPI::Services::TLSCertificatesClient (class)">TLSCertificatesClient</a></span></tt>
435
441
 
436
442
 
437
443
 
@@ -440,7 +446,7 @@
440
446
  </h3><div class="docstring">
441
447
  <div class="discussion">
442
448
 
443
- <p>Returns a new instance of TlsCertificatesClient.</p>
449
+ <p>Returns a new instance of TLSCertificatesClient.</p>
444
450
 
445
451
 
446
452
  </div>
@@ -454,15 +460,15 @@
454
460
  <pre class="lines">
455
461
 
456
462
 
457
- 17
458
- 18
459
- 19</pre>
463
+ 21
464
+ 22
465
+ 23</pre>
460
466
  </td>
461
467
  <td>
462
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 17</span>
468
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 21</span>
463
469
 
464
- <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>
465
- <span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
470
+ <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>
471
+ <span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
466
472
  <span class='kw'>end</span></pre>
467
473
  </td>
468
474
  </tr>
@@ -502,12 +508,12 @@
502
508
  <pre class="lines">
503
509
 
504
510
 
505
- 15
506
- 16
507
- 17</pre>
511
+ 19
512
+ 20
513
+ 21</pre>
508
514
  </td>
509
515
  <td>
510
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 15</span>
516
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 19</span>
511
517
 
512
518
  <span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
513
519
  <span class='ivar'>@client</span>
@@ -527,7 +533,7 @@
527
533
  <div class="method_details first">
528
534
  <h3 class="signature first" id="create-instance_method">
529
535
 
530
- #<strong>create</strong>(certificate_pem: &#39;&#39;, description: &#39;&#39;, metadata: &#39;&#39;, private_key_pem: &#39;&#39;) &#x21d2; <tt><span class='object_link'><a href="../Models/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">NgrokAPI::Models::TlsCertificate</a></span></tt>
536
+ #<strong>create</strong>(description: &quot;&quot;, metadata: &quot;&quot;, certificate_pem:, private_key_pem:) &#x21d2; <tt><span class='object_link'><a href="../Models/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">NgrokAPI::Models::TLSCertificate</a></span></tt>
531
537
 
532
538
 
533
539
 
@@ -536,7 +542,7 @@
536
542
  </h3><div class="docstring">
537
543
  <div class="discussion">
538
544
 
539
- <p>Upload a new TLS certificate.</p>
545
+ <p>Upload a new TLS certificate</p>
540
546
 
541
547
  <p><a href="https://ngrok.com/docs/api#api-tls-certificates-create">ngrok.com/docs/api#api-tls-certificates-create</a></p>
542
548
 
@@ -555,7 +561,7 @@
555
561
  <span class='type'>(<tt>string</tt>)</span>
556
562
 
557
563
 
558
- <em class="default">(defaults to: <tt>&#39;&#39;</tt>)</em>
564
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
559
565
 
560
566
 
561
567
  &mdash;
@@ -573,7 +579,7 @@
573
579
  <span class='type'>(<tt>string</tt>)</span>
574
580
 
575
581
 
576
- <em class="default">(defaults to: <tt>&#39;&#39;</tt>)</em>
582
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
577
583
 
578
584
 
579
585
  &mdash;
@@ -591,8 +597,6 @@
591
597
  <span class='type'>(<tt>string</tt>)</span>
592
598
 
593
599
 
594
- <em class="default">(defaults to: <tt>&#39;&#39;</tt>)</em>
595
-
596
600
 
597
601
  &mdash;
598
602
  <div class='inline'>
@@ -609,8 +613,6 @@
609
613
  <span class='type'>(<tt>string</tt>)</span>
610
614
 
611
615
 
612
- <em class="default">(defaults to: <tt>&#39;&#39;</tt>)</em>
613
-
614
616
 
615
617
  &mdash;
616
618
  <div class='inline'>
@@ -627,13 +629,13 @@
627
629
  <li>
628
630
 
629
631
 
630
- <span class='type'>(<tt><span class='object_link'><a href="../Models/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">NgrokAPI::Models::TlsCertificate</a></span></tt>)</span>
632
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">NgrokAPI::Models::TLSCertificate</a></span></tt>)</span>
631
633
 
632
634
 
633
635
 
634
636
  &mdash;
635
637
  <div class='inline'>
636
- <p>result from create request</p>
638
+ <p>result from the API request</p>
637
639
  </div>
638
640
 
639
641
  </li>
@@ -646,8 +648,6 @@
646
648
  <pre class="lines">
647
649
 
648
650
 
649
- 33
650
- 34
651
651
  35
652
652
  36
653
653
  37
@@ -660,25 +660,31 @@
660
660
  44
661
661
  45
662
662
  46
663
- 47</pre>
663
+ 47
664
+ 48
665
+ 49
666
+ 50
667
+ 51</pre>
664
668
  </td>
665
669
  <td>
666
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 33</span>
667
-
668
- <span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span>
669
- <span class='label'>certificate_pem:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
670
- <span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
671
- <span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
672
- <span class='label'>private_key_pem:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span>
673
- <span class='rparen'>)</span>
674
- <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span>
675
- <span class='label'>certificate_pem:</span> <span class='id identifier rubyid_certificate_pem'>certificate_pem</span><span class='comma'>,</span>
676
- <span class='label'>description:</span> <span class='id identifier rubyid_description'>description</span><span class='comma'>,</span>
677
- <span class='label'>metadata:</span> <span class='id identifier rubyid_metadata'>metadata</span><span class='comma'>,</span>
678
- <span class='label'>private_key_pem:</span> <span class='id identifier rubyid_private_key_pem'>private_key_pem</span><span class='comma'>,</span>
679
- <span class='rbrace'>}</span>
680
- <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_post'>post</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::TlsCertificatesClient::PATH (constant)">PATH</a></span></span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
681
- <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/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">TlsCertificate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TlsCertificate.html#initialize-instance_method" title="NgrokAPI::Models::TlsCertificate#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
670
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 35</span>
671
+
672
+ <span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span>
673
+ <span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
674
+ <span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
675
+ <span class='label'>certificate_pem:</span><span class='comma'>,</span>
676
+ <span class='label'>private_key_pem:</span>
677
+ <span class='rparen'>)</span>
678
+ <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'>/tls_certificates</span><span class='tstring_end'>&#39;</span></span>
679
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
680
+ <span class='rbrace'>}</span>
681
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
682
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
683
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
684
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:certificate_pem</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_certificate_pem'>certificate_pem</span> <span class='kw'>if</span> <span class='id identifier rubyid_certificate_pem'>certificate_pem</span>
685
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:private_key_pem</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_private_key_pem'>private_key_pem</span> <span class='kw'>if</span> <span class='id identifier rubyid_private_key_pem'>private_key_pem</span>
686
+ <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_post'>post</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>
687
+ <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/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">TLSCertificate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSCertificate.html#initialize-instance_method" title="NgrokAPI::Models::TLSCertificate#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
682
688
  <span class='kw'>end</span></pre>
683
689
  </td>
684
690
  </tr>
@@ -688,7 +694,7 @@
688
694
  <div class="method_details ">
689
695
  <h3 class="signature " id="delete-instance_method">
690
696
 
691
- #<strong>delete</strong>(id: nil) &#x21d2; <tt>nil</tt>
697
+ #<strong>delete</strong>(id: &quot;&quot;) &#x21d2; <tt>NgrokAPI::Models::Empty</tt>
692
698
 
693
699
 
694
700
 
@@ -697,7 +703,7 @@
697
703
  </h3><div class="docstring">
698
704
  <div class="discussion">
699
705
 
700
- <p>Delete a TLS certificate by ID.</p>
706
+ <p>Delete a TLS certificate</p>
701
707
 
702
708
  <p><a href="https://ngrok.com/docs/api#api-tls-certificates-delete">ngrok.com/docs/api#api-tls-certificates-delete</a></p>
703
709
 
@@ -716,7 +722,7 @@
716
722
  <span class='type'>(<tt>string</tt>)</span>
717
723
 
718
724
 
719
- <em class="default">(defaults to: <tt>nil</tt>)</em>
725
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
720
726
 
721
727
 
722
728
  &mdash;
@@ -734,13 +740,13 @@
734
740
  <li>
735
741
 
736
742
 
737
- <span class='type'>(<tt>nil</tt>)</span>
743
+ <span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
738
744
 
739
745
 
740
746
 
741
747
  &mdash;
742
748
  <div class='inline'>
743
- <p>result from delete request</p>
749
+ <p>result from the API request</p>
744
750
  </div>
745
751
 
746
752
  </li>
@@ -753,15 +759,27 @@
753
759
  <pre class="lines">
754
760
 
755
761
 
756
- 57
757
- 58
758
- 59</pre>
762
+ 60
763
+ 61
764
+ 62
765
+ 63
766
+ 64
767
+ 65
768
+ 66
769
+ 67
770
+ 68</pre>
759
771
  </td>
760
772
  <td>
761
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 57</span>
762
-
763
- <span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
764
- <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::TlsCertificatesClient::PATH (constant)">PATH</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
773
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 60</span>
774
+
775
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span>
776
+ <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
777
+ <span class='rparen'>)</span>
778
+ <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'>/tls_certificates/%{id}</span><span class='tstring_end'>&#39;</span></span>
779
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
780
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
781
+ <span class='rbrace'>}</span>
782
+ <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>
765
783
  <span class='kw'>end</span></pre>
766
784
  </td>
767
785
  </tr>
@@ -771,7 +789,7 @@
771
789
  <div class="method_details ">
772
790
  <h3 class="signature " id="delete!-instance_method">
773
791
 
774
- #<strong>delete!</strong>(id: nil) &#x21d2; <tt>nil</tt>
792
+ #<strong>delete!</strong>(id: &quot;&quot;) &#x21d2; <tt>NgrokAPI::Models::Empty</tt>
775
793
 
776
794
 
777
795
 
@@ -780,7 +798,7 @@
780
798
  </h3><div class="docstring">
781
799
  <div class="discussion">
782
800
 
783
- <p>Delete a TLS certificate by ID. Throw an exception if 404.</p>
801
+ <p>Delete a TLS certificate Throws an exception if API error.</p>
784
802
 
785
803
  <p><a href="https://ngrok.com/docs/api#api-tls-certificates-delete">ngrok.com/docs/api#api-tls-certificates-delete</a></p>
786
804
 
@@ -799,7 +817,7 @@
799
817
  <span class='type'>(<tt>string</tt>)</span>
800
818
 
801
819
 
802
- <em class="default">(defaults to: <tt>nil</tt>)</em>
820
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
803
821
 
804
822
 
805
823
  &mdash;
@@ -817,13 +835,13 @@
817
835
  <li>
818
836
 
819
837
 
820
- <span class='type'>(<tt>nil</tt>)</span>
838
+ <span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
821
839
 
822
840
 
823
841
 
824
842
  &mdash;
825
843
  <div class='inline'>
826
- <p>result from delete request</p>
844
+ <p>result from the API request</p>
827
845
  </div>
828
846
 
829
847
  </li>
@@ -836,15 +854,27 @@
836
854
  <pre class="lines">
837
855
 
838
856
 
839
- 68
840
- 69
841
- 70</pre>
857
+ 78
858
+ 79
859
+ 80
860
+ 81
861
+ 82
862
+ 83
863
+ 84
864
+ 85
865
+ 86</pre>
842
866
  </td>
843
867
  <td>
844
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 68</span>
845
-
846
- <span class='kw'>def</span> <span class='id identifier rubyid_delete!'>delete!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
847
- <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::TlsCertificatesClient::PATH (constant)">PATH</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
868
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 78</span>
869
+
870
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete!'>delete!</span><span class='lparen'>(</span>
871
+ <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
872
+ <span class='rparen'>)</span>
873
+ <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'>/tls_certificates/%{id}</span><span class='tstring_end'>&#39;</span></span>
874
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
875
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
876
+ <span class='rbrace'>}</span>
877
+ <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>
848
878
  <span class='kw'>end</span></pre>
849
879
  </td>
850
880
  </tr>
@@ -854,7 +884,7 @@
854
884
  <div class="method_details ">
855
885
  <h3 class="signature " id="get-instance_method">
856
886
 
857
- #<strong>get</strong>(id: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">NgrokAPI::Models::TlsCertificate</a></span></tt>
887
+ #<strong>get</strong>(id: &quot;&quot;) &#x21d2; <tt><span class='object_link'><a href="../Models/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">NgrokAPI::Models::TLSCertificate</a></span></tt>
858
888
 
859
889
 
860
890
 
@@ -863,7 +893,7 @@
863
893
  </h3><div class="docstring">
864
894
  <div class="discussion">
865
895
 
866
- <p>Get detailed information about a TLS certificate by ID.</p>
896
+ <p>Get detailed information about a TLS certificate</p>
867
897
 
868
898
  <p><a href="https://ngrok.com/docs/api#api-tls-certificates-get">ngrok.com/docs/api#api-tls-certificates-get</a></p>
869
899
 
@@ -882,7 +912,7 @@
882
912
  <span class='type'>(<tt>string</tt>)</span>
883
913
 
884
914
 
885
- <em class="default">(defaults to: <tt>nil</tt>)</em>
915
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
886
916
 
887
917
 
888
918
  &mdash;
@@ -900,13 +930,13 @@
900
930
  <li>
901
931
 
902
932
 
903
- <span class='type'>(<tt><span class='object_link'><a href="../Models/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">NgrokAPI::Models::TlsCertificate</a></span></tt>)</span>
933
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">NgrokAPI::Models::TLSCertificate</a></span></tt>)</span>
904
934
 
905
935
 
906
936
 
907
937
  &mdash;
908
938
  <div class='inline'>
909
- <p>result from get request</p>
939
+ <p>result from the API request</p>
910
940
  </div>
911
941
 
912
942
  </li>
@@ -919,17 +949,31 @@
919
949
  <pre class="lines">
920
950
 
921
951
 
922
- 79
923
- 80
924
- 81
925
- 82</pre>
952
+ 95
953
+ 96
954
+ 97
955
+ 98
956
+ 99
957
+ 100
958
+ 101
959
+ 102
960
+ 103
961
+ 104
962
+ 105</pre>
926
963
  </td>
927
964
  <td>
928
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 79</span>
929
-
930
- <span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
931
- <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='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::TlsCertificatesClient::PATH (constant)">PATH</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
932
- <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/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">TlsCertificate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TlsCertificate.html#initialize-instance_method" title="NgrokAPI::Models::TlsCertificate#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
965
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 95</span>
966
+
967
+ <span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span>
968
+ <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
969
+ <span class='rparen'>)</span>
970
+ <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'>/tls_certificates/%{id}</span><span class='tstring_end'>&#39;</span></span>
971
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
972
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
973
+ <span class='rbrace'>}</span>
974
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
975
+ <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>
976
+ <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/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">TLSCertificate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSCertificate.html#initialize-instance_method" title="NgrokAPI::Models::TLSCertificate#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
933
977
  <span class='kw'>end</span></pre>
934
978
  </td>
935
979
  </tr>
@@ -939,7 +983,7 @@
939
983
  <div class="method_details ">
940
984
  <h3 class="signature " id="get!-instance_method">
941
985
 
942
- #<strong>get!</strong>(id: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">NgrokAPI::Models::TlsCertificate</a></span></tt>
986
+ #<strong>get!</strong>(id: &quot;&quot;) &#x21d2; <tt><span class='object_link'><a href="../Models/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">NgrokAPI::Models::TLSCertificate</a></span></tt>
943
987
 
944
988
 
945
989
 
@@ -948,7 +992,7 @@
948
992
  </h3><div class="docstring">
949
993
  <div class="discussion">
950
994
 
951
- <p>Get detailed information about a TLS certificate by ID. Throw an exception if 404.</p>
995
+ <p>Get detailed information about a TLS certificate Throws an exception if API error.</p>
952
996
 
953
997
  <p><a href="https://ngrok.com/docs/api#api-tls-certificates-get">ngrok.com/docs/api#api-tls-certificates-get</a></p>
954
998
 
@@ -967,7 +1011,7 @@
967
1011
  <span class='type'>(<tt>string</tt>)</span>
968
1012
 
969
1013
 
970
- <em class="default">(defaults to: <tt>nil</tt>)</em>
1014
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
971
1015
 
972
1016
 
973
1017
  &mdash;
@@ -985,13 +1029,13 @@
985
1029
  <li>
986
1030
 
987
1031
 
988
- <span class='type'>(<tt><span class='object_link'><a href="../Models/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">NgrokAPI::Models::TlsCertificate</a></span></tt>)</span>
1032
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">NgrokAPI::Models::TLSCertificate</a></span></tt>)</span>
989
1033
 
990
1034
 
991
1035
 
992
1036
  &mdash;
993
1037
  <div class='inline'>
994
- <p>result from get request</p>
1038
+ <p>result from the API request</p>
995
1039
  </div>
996
1040
 
997
1041
  </li>
@@ -1004,17 +1048,31 @@
1004
1048
  <pre class="lines">
1005
1049
 
1006
1050
 
1007
- 91
1008
- 92
1009
- 93
1010
- 94</pre>
1051
+ 115
1052
+ 116
1053
+ 117
1054
+ 118
1055
+ 119
1056
+ 120
1057
+ 121
1058
+ 122
1059
+ 123
1060
+ 124
1061
+ 125</pre>
1011
1062
  </td>
1012
1063
  <td>
1013
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 91</span>
1014
-
1015
- <span class='kw'>def</span> <span class='id identifier rubyid_get!'>get!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1016
- <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='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::TlsCertificatesClient::PATH (constant)">PATH</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
1017
- <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/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">TlsCertificate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TlsCertificate.html#initialize-instance_method" title="NgrokAPI::Models::TlsCertificate#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1064
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 115</span>
1065
+
1066
+ <span class='kw'>def</span> <span class='id identifier rubyid_get!'>get!</span><span class='lparen'>(</span>
1067
+ <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
1068
+ <span class='rparen'>)</span>
1069
+ <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'>/tls_certificates/%{id}</span><span class='tstring_end'>&#39;</span></span>
1070
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1071
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
1072
+ <span class='rbrace'>}</span>
1073
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1074
+ <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>
1075
+ <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/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">TLSCertificate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSCertificate.html#initialize-instance_method" title="NgrokAPI::Models::TLSCertificate#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1018
1076
  <span class='kw'>end</span></pre>
1019
1077
  </td>
1020
1078
  </tr>
@@ -1033,7 +1091,7 @@
1033
1091
  </h3><div class="docstring">
1034
1092
  <div class="discussion">
1035
1093
 
1036
- <p>List all TLS certificates on this account.</p>
1094
+ <p>List all TLS certificates on this account</p>
1037
1095
 
1038
1096
  <p><a href="https://ngrok.com/docs/api#api-tls-certificates-list">ngrok.com/docs/api#api-tls-certificates-list</a></p>
1039
1097
 
@@ -1062,7 +1120,7 @@
1062
1120
  <span class='name'>limit</span>
1063
1121
 
1064
1122
 
1065
- <span class='type'>(<tt>integer</tt>)</span>
1123
+ <span class='type'>(<tt>string</tt>)</span>
1066
1124
 
1067
1125
 
1068
1126
  <em class="default">(defaults to: <tt>nil</tt>)</em>
@@ -1102,7 +1160,7 @@
1102
1160
 
1103
1161
  &mdash;
1104
1162
  <div class='inline'>
1105
- <p>the result listable</p>
1163
+ <p>result from the API request</p>
1106
1164
  </div>
1107
1165
 
1108
1166
  </li>
@@ -1115,27 +1173,45 @@
1115
1173
  <pre class="lines">
1116
1174
 
1117
1175
 
1118
- 105
1119
- 106
1120
- 107
1121
- 108
1122
- 109
1123
- 110
1124
- 111
1125
- 112
1126
- 113</pre>
1176
+ 136
1177
+ 137
1178
+ 138
1179
+ 139
1180
+ 140
1181
+ 141
1182
+ 142
1183
+ 143
1184
+ 144
1185
+ 145
1186
+ 146
1187
+ 147
1188
+ 148
1189
+ 149
1190
+ 150
1191
+ 151
1192
+ 152
1193
+ 153</pre>
1127
1194
  </td>
1128
1195
  <td>
1129
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 105</span>
1130
-
1131
- <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>
1132
- <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><span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::TlsCertificatesClient::PATH (constant)">PATH</a></span></span><span class='rparen'>)</span>
1133
- <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>
1134
- <span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
1135
- <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
1136
- <span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::TlsCertificatesClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
1137
- <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/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">TlsCertificate</a></span></span>
1138
- <span class='rparen'>)</span>
1196
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 136</span>
1197
+
1198
+ <span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
1199
+ <span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span>
1200
+ <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span>
1201
+ <span class='label'>url:</span> <span class='kw'>nil</span>
1202
+ <span class='rparen'>)</span>
1203
+ <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>
1204
+ <span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
1205
+ <span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
1206
+ <span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span>
1207
+ <span class='label'>path:</span> <span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::TLSCertificatesClient::PATH (constant)">PATH</a></span></span>
1208
+ <span class='rparen'>)</span>
1209
+ <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>
1210
+ <span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
1211
+ <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
1212
+ <span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::TLSCertificatesClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
1213
+ <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/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">TLSCertificate</a></span></span>
1214
+ <span class='rparen'>)</span>
1139
1215
  <span class='kw'>end</span></pre>
1140
1216
  </td>
1141
1217
  </tr>
@@ -1145,7 +1221,7 @@
1145
1221
  <div class="method_details ">
1146
1222
  <h3 class="signature " id="update-instance_method">
1147
1223
 
1148
- #<strong>update</strong>(id: nil, description: nil, metadata: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">NgrokAPI::Models::TlsCertificate</a></span></tt>
1224
+ #<strong>update</strong>(id: &quot;&quot;, description: nil, metadata: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">NgrokAPI::Models::TLSCertificate</a></span></tt>
1149
1225
 
1150
1226
 
1151
1227
 
@@ -1154,7 +1230,7 @@
1154
1230
  </h3><div class="docstring">
1155
1231
  <div class="discussion">
1156
1232
 
1157
- <p>Update attributes of a TLS Certificate by ID.</p>
1233
+ <p>Update attributes of a TLS Certificate by ID</p>
1158
1234
 
1159
1235
  <p><a href="https://ngrok.com/docs/api#api-tls-certificates-update">ngrok.com/docs/api#api-tls-certificates-update</a></p>
1160
1236
 
@@ -1173,7 +1249,7 @@
1173
1249
  <span class='type'>(<tt>string</tt>)</span>
1174
1250
 
1175
1251
 
1176
- <em class="default">(defaults to: <tt>nil</tt>)</em>
1252
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1177
1253
 
1178
1254
 
1179
1255
  </li>
@@ -1222,13 +1298,13 @@
1222
1298
  <li>
1223
1299
 
1224
1300
 
1225
- <span class='type'>(<tt><span class='object_link'><a href="../Models/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">NgrokAPI::Models::TlsCertificate</a></span></tt>)</span>
1301
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">NgrokAPI::Models::TLSCertificate</a></span></tt>)</span>
1226
1302
 
1227
1303
 
1228
1304
 
1229
1305
  &mdash;
1230
1306
  <div class='inline'>
1231
- <p>result from update request</p>
1307
+ <p>result from the API request</p>
1232
1308
  </div>
1233
1309
 
1234
1310
  </li>
@@ -1241,31 +1317,39 @@
1241
1317
  <pre class="lines">
1242
1318
 
1243
1319
 
1244
- 126
1245
- 127
1246
- 128
1247
- 129
1248
- 130
1249
- 131
1250
- 132
1251
- 133
1252
- 134
1253
- 135
1254
- 136</pre>
1320
+ 164
1321
+ 165
1322
+ 166
1323
+ 167
1324
+ 168
1325
+ 169
1326
+ 170
1327
+ 171
1328
+ 172
1329
+ 173
1330
+ 174
1331
+ 175
1332
+ 176
1333
+ 177
1334
+ 178</pre>
1255
1335
  </td>
1256
1336
  <td>
1257
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 126</span>
1258
-
1259
- <span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span>
1260
- <span class='label'>id:</span> <span class='kw'>nil</span><span class='comma'>,</span>
1261
- <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span>
1262
- <span class='label'>metadata:</span> <span class='kw'>nil</span>
1263
- <span class='rparen'>)</span>
1264
- <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1265
- <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
1266
- <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
1267
- <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_patch'>patch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::TlsCertificatesClient::PATH (constant)">PATH</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
1268
- <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/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">TlsCertificate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TlsCertificate.html#initialize-instance_method" title="NgrokAPI::Models::TlsCertificate#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1337
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 164</span>
1338
+
1339
+ <span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span>
1340
+ <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
1341
+ <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span>
1342
+ <span class='label'>metadata:</span> <span class='kw'>nil</span>
1343
+ <span class='rparen'>)</span>
1344
+ <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'>/tls_certificates/%{id}</span><span class='tstring_end'>&#39;</span></span>
1345
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1346
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
1347
+ <span class='rbrace'>}</span>
1348
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1349
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
1350
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
1351
+ <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_patch'>patch</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>
1352
+ <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/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">TLSCertificate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSCertificate.html#initialize-instance_method" title="NgrokAPI::Models::TLSCertificate#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1269
1353
  <span class='kw'>end</span></pre>
1270
1354
  </td>
1271
1355
  </tr>
@@ -1275,7 +1359,7 @@
1275
1359
  <div class="method_details ">
1276
1360
  <h3 class="signature " id="update!-instance_method">
1277
1361
 
1278
- #<strong>update!</strong>(id: nil, description: nil, metadata: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">NgrokAPI::Models::TlsCertificate</a></span></tt>
1362
+ #<strong>update!</strong>(id: &quot;&quot;, description: nil, metadata: nil) &#x21d2; <tt><span class='object_link'><a href="../Models/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">NgrokAPI::Models::TLSCertificate</a></span></tt>
1279
1363
 
1280
1364
 
1281
1365
 
@@ -1284,7 +1368,7 @@
1284
1368
  </h3><div class="docstring">
1285
1369
  <div class="discussion">
1286
1370
 
1287
- <p>Update attributes of a TLS Certificate by ID. Throw an exception if 404.</p>
1371
+ <p>Update attributes of a TLS Certificate by ID Throws an exception if API error.</p>
1288
1372
 
1289
1373
  <p><a href="https://ngrok.com/docs/api#api-tls-certificates-update">ngrok.com/docs/api#api-tls-certificates-update</a></p>
1290
1374
 
@@ -1303,7 +1387,7 @@
1303
1387
  <span class='type'>(<tt>string</tt>)</span>
1304
1388
 
1305
1389
 
1306
- <em class="default">(defaults to: <tt>nil</tt>)</em>
1390
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
1307
1391
 
1308
1392
 
1309
1393
  </li>
@@ -1352,13 +1436,13 @@
1352
1436
  <li>
1353
1437
 
1354
1438
 
1355
- <span class='type'>(<tt><span class='object_link'><a href="../Models/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">NgrokAPI::Models::TlsCertificate</a></span></tt>)</span>
1439
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">NgrokAPI::Models::TLSCertificate</a></span></tt>)</span>
1356
1440
 
1357
1441
 
1358
1442
 
1359
1443
  &mdash;
1360
1444
  <div class='inline'>
1361
- <p>result from update request</p>
1445
+ <p>result from the API request</p>
1362
1446
  </div>
1363
1447
 
1364
1448
  </li>
@@ -1371,31 +1455,39 @@
1371
1455
  <pre class="lines">
1372
1456
 
1373
1457
 
1374
- 147
1375
- 148
1376
- 149
1377
- 150
1378
- 151
1379
- 152
1380
- 153
1381
- 154
1382
- 155
1383
- 156
1384
- 157</pre>
1458
+ 190
1459
+ 191
1460
+ 192
1461
+ 193
1462
+ 194
1463
+ 195
1464
+ 196
1465
+ 197
1466
+ 198
1467
+ 199
1468
+ 200
1469
+ 201
1470
+ 202
1471
+ 203
1472
+ 204</pre>
1385
1473
  </td>
1386
1474
  <td>
1387
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 147</span>
1388
-
1389
- <span class='kw'>def</span> <span class='id identifier rubyid_update!'>update!</span><span class='lparen'>(</span>
1390
- <span class='label'>id:</span> <span class='kw'>nil</span><span class='comma'>,</span>
1391
- <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span>
1392
- <span class='label'>metadata:</span> <span class='kw'>nil</span>
1393
- <span class='rparen'>)</span>
1394
- <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1395
- <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
1396
- <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
1397
- <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_patch'>patch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::TlsCertificatesClient::PATH (constant)">PATH</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
1398
- <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/TlsCertificate.html" title="NgrokAPI::Models::TlsCertificate (class)">TlsCertificate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TlsCertificate.html#initialize-instance_method" title="NgrokAPI::Models::TlsCertificate#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1475
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/tls_certificates_client.rb', line 190</span>
1476
+
1477
+ <span class='kw'>def</span> <span class='id identifier rubyid_update!'>update!</span><span class='lparen'>(</span>
1478
+ <span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
1479
+ <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span>
1480
+ <span class='label'>metadata:</span> <span class='kw'>nil</span>
1481
+ <span class='rparen'>)</span>
1482
+ <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'>/tls_certificates/%{id}</span><span class='tstring_end'>&#39;</span></span>
1483
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
1484
+ <span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
1485
+ <span class='rbrace'>}</span>
1486
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1487
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
1488
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
1489
+ <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_patch'>patch</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>
1490
+ <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/TLSCertificate.html" title="NgrokAPI::Models::TLSCertificate (class)">TLSCertificate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSCertificate.html#initialize-instance_method" title="NgrokAPI::Models::TLSCertificate#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1399
1491
  <span class='kw'>end</span></pre>
1400
1492
  </td>
1401
1493
  </tr>
@@ -1407,7 +1499,7 @@
1407
1499
  </div>
1408
1500
 
1409
1501
  <div id="footer">
1410
- Generated on Fri Sep 24 19:20:29 2021 by
1502
+ Generated on Mon Oct 4 23:24:18 2021 by
1411
1503
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1412
1504
  0.9.26 (ruby-3.0.1).
1413
1505
  </div>