ngrok-api 0.12.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (290) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/LICENSE +7 -0
  4. data/doc/NgrokAPI/Client.html +184 -182
  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 +55 -19
  9. data/doc/NgrokAPI/Models/APIKey.html +1 -1
  10. data/doc/NgrokAPI/Models/AWSAuth.html +1 -1
  11. data/doc/NgrokAPI/Models/AWSCredentials.html +1 -1
  12. data/doc/NgrokAPI/Models/AWSRole.html +1 -1
  13. data/doc/NgrokAPI/Models/AbuseReport.html +1 -1
  14. data/doc/NgrokAPI/Models/AbuseReportHostname.html +1 -1
  15. data/doc/NgrokAPI/Models/CertificateAuthority.html +1 -1
  16. data/doc/NgrokAPI/Models/Credential.html +1 -1
  17. data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +1 -1
  18. data/doc/NgrokAPI/Models/EndpointCompression.html +1 -1
  19. data/doc/NgrokAPI/Models/EndpointConfiguration.html +1 -1
  20. data/doc/NgrokAPI/Models/EndpointIPPolicy.html +1 -1
  21. data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +1 -1
  22. data/doc/NgrokAPI/Models/EndpointLogging.html +1 -1
  23. data/doc/NgrokAPI/Models/EndpointLoggingMutate.html +1 -1
  24. data/doc/NgrokAPI/Models/EndpointMutualTLS.html +1 -1
  25. data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +1 -1
  26. data/doc/NgrokAPI/Models/EndpointOAuth.html +1 -1
  27. data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +1 -1
  28. data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +1 -1
  29. data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +1 -1
  30. data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +1 -1
  31. data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +1 -1
  32. data/doc/NgrokAPI/Models/EndpointOIDC.html +1 -1
  33. data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +1 -1
  34. data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +1 -1
  35. data/doc/NgrokAPI/Models/EndpointSAML.html +1 -1
  36. data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +1 -1
  37. data/doc/NgrokAPI/Models/EndpointTLSTermination.html +1 -1
  38. data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +1 -1
  39. data/doc/NgrokAPI/Models/EventDestination.html +1 -1
  40. data/doc/NgrokAPI/Models/EventSource.html +1 -1
  41. data/doc/NgrokAPI/Models/{ReservedDomainCertNSTarget.html → EventSourceList.html} +42 -42
  42. data/doc/NgrokAPI/Models/EventSourceReplace.html +1 -1
  43. data/doc/NgrokAPI/Models/EventStream.html +1 -1
  44. data/doc/NgrokAPI/Models/EventSubscription.html +1 -1
  45. data/doc/NgrokAPI/Models/EventTarget.html +1 -1
  46. data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +1 -1
  47. data/doc/NgrokAPI/Models/EventTargetFirehose.html +1 -1
  48. data/doc/NgrokAPI/Models/EventTargetKinesis.html +1 -1
  49. data/doc/NgrokAPI/Models/IPPolicy.html +1 -1
  50. data/doc/NgrokAPI/Models/IPPolicyRule.html +1 -1
  51. data/doc/NgrokAPI/Models/IPRestriction.html +1 -1
  52. data/doc/NgrokAPI/Models/IPWhitelistEntry.html +1 -1
  53. data/doc/NgrokAPI/Models/Listable.html +118 -50
  54. data/doc/NgrokAPI/Models/Ref.html +1 -1
  55. data/doc/NgrokAPI/Models/ReservedAddr.html +1 -1
  56. data/doc/NgrokAPI/Models/ReservedDomain.html +91 -17
  57. data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +12 -86
  58. data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +1 -1
  59. data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +1 -1
  60. data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +1 -1
  61. data/doc/NgrokAPI/Models/SSHCredential.html +1 -1
  62. data/doc/NgrokAPI/Models/SSHHostCertificate.html +1 -1
  63. data/doc/NgrokAPI/Models/SSHUserCertificate.html +1 -1
  64. data/doc/NgrokAPI/Models/TLSCertificate.html +1 -1
  65. data/doc/NgrokAPI/Models/TLSCertificateSANs.html +1 -1
  66. data/doc/NgrokAPI/Models/Tunnel.html +1 -1
  67. data/doc/NgrokAPI/Models/TunnelSession.html +1 -1
  68. data/doc/NgrokAPI/Models.html +3 -3
  69. data/doc/NgrokAPI/PagedIterator.html +14 -10
  70. data/doc/NgrokAPI/Services/APIKeysClient.html +227 -62
  71. data/doc/NgrokAPI/Services/AbuseReportsClient.html +2 -5
  72. data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +206 -41
  73. data/doc/NgrokAPI/Services/CredentialsClient.html +213 -47
  74. data/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +1 -1
  75. data/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html +1 -1
  76. data/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +281 -114
  77. data/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +1 -1
  78. data/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html +1 -1
  79. data/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +1 -1
  80. data/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html +1 -1
  81. data/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html +1 -1
  82. data/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +1 -1
  83. data/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +1 -1
  84. data/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html +1 -1
  85. data/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +1 -1
  86. data/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +1 -1
  87. data/doc/NgrokAPI/Services/EventDestinationsClient.html +221 -50
  88. data/doc/NgrokAPI/Services/EventSourcesClient.html +279 -33
  89. data/doc/NgrokAPI/Services/EventStreamsClient.html +218 -47
  90. data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +213 -42
  91. data/doc/NgrokAPI/Services/IPPoliciesClient.html +207 -41
  92. data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +210 -42
  93. data/doc/NgrokAPI/Services/IPRestrictionsClient.html +215 -51
  94. data/doc/NgrokAPI/Services/IPWhitelistClient.html +206 -38
  95. data/doc/NgrokAPI/Services/ReservedAddrsClient.html +230 -63
  96. data/doc/NgrokAPI/Services/ReservedDomainsClient.html +308 -142
  97. data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +208 -40
  98. data/doc/NgrokAPI/Services/SSHCredentialsClient.html +213 -45
  99. data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +207 -40
  100. data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +209 -42
  101. data/doc/NgrokAPI/Services/TLSCertificatesClient.html +208 -43
  102. data/doc/NgrokAPI/Services/TunnelSessionsClient.html +260 -93
  103. data/doc/NgrokAPI/Services/TunnelsClient.html +174 -6
  104. data/doc/NgrokAPI/Services.html +1 -1
  105. data/doc/NgrokAPI.html +2 -2
  106. data/doc/README +94 -0
  107. data/doc/_index.html +8 -8
  108. data/doc/class_list.html +1 -1
  109. data/doc/file.README.html +53 -26
  110. data/doc/index.html +53 -26
  111. data/doc/method_list.html +822 -630
  112. data/doc/top-level-namespace.html +1 -1
  113. data/docs/NgrokAPI/Client.html +184 -182
  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 +55 -19
  118. data/docs/NgrokAPI/Models/APIKey.html +1 -1
  119. data/docs/NgrokAPI/Models/AWSAuth.html +1 -1
  120. data/docs/NgrokAPI/Models/AWSCredentials.html +1 -1
  121. data/docs/NgrokAPI/Models/AWSRole.html +1 -1
  122. data/docs/NgrokAPI/Models/AbuseReport.html +1 -1
  123. data/docs/NgrokAPI/Models/AbuseReportHostname.html +1 -1
  124. data/docs/NgrokAPI/Models/CertificateAuthority.html +1 -1
  125. data/docs/NgrokAPI/Models/Credential.html +1 -1
  126. data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +1 -1
  127. data/docs/NgrokAPI/Models/EndpointCompression.html +1 -1
  128. data/docs/NgrokAPI/Models/EndpointConfiguration.html +1 -1
  129. data/docs/NgrokAPI/Models/EndpointIPPolicy.html +1 -1
  130. data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +1 -1
  131. data/docs/NgrokAPI/Models/EndpointLogging.html +1 -1
  132. data/docs/NgrokAPI/Models/EndpointLoggingMutate.html +1 -1
  133. data/docs/NgrokAPI/Models/EndpointMutualTLS.html +1 -1
  134. data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +1 -1
  135. data/docs/NgrokAPI/Models/EndpointOAuth.html +1 -1
  136. data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +1 -1
  137. data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +1 -1
  138. data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +1 -1
  139. data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +1 -1
  140. data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +1 -1
  141. data/docs/NgrokAPI/Models/EndpointOIDC.html +1 -1
  142. data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +1 -1
  143. data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +1 -1
  144. data/docs/NgrokAPI/Models/EndpointSAML.html +1 -1
  145. data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +1 -1
  146. data/docs/NgrokAPI/Models/EndpointTLSTermination.html +1 -1
  147. data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +1 -1
  148. data/docs/NgrokAPI/Models/EventDestination.html +1 -1
  149. data/docs/NgrokAPI/Models/EventSource.html +1 -1
  150. data/docs/NgrokAPI/Models/{ReservedDomainCertNSTarget.html → EventSourceList.html} +42 -42
  151. data/docs/NgrokAPI/Models/EventSourceReplace.html +1 -1
  152. data/docs/NgrokAPI/Models/EventStream.html +1 -1
  153. data/docs/NgrokAPI/Models/EventSubscription.html +1 -1
  154. data/docs/NgrokAPI/Models/EventTarget.html +1 -1
  155. data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +1 -1
  156. data/docs/NgrokAPI/Models/EventTargetFirehose.html +1 -1
  157. data/docs/NgrokAPI/Models/EventTargetKinesis.html +1 -1
  158. data/docs/NgrokAPI/Models/IPPolicy.html +1 -1
  159. data/docs/NgrokAPI/Models/IPPolicyRule.html +1 -1
  160. data/docs/NgrokAPI/Models/IPRestriction.html +1 -1
  161. data/docs/NgrokAPI/Models/IPWhitelistEntry.html +1 -1
  162. data/docs/NgrokAPI/Models/Listable.html +118 -50
  163. data/docs/NgrokAPI/Models/Ref.html +1 -1
  164. data/docs/NgrokAPI/Models/ReservedAddr.html +1 -1
  165. data/docs/NgrokAPI/Models/ReservedDomain.html +91 -17
  166. data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +12 -86
  167. data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +1 -1
  168. data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +1 -1
  169. data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +1 -1
  170. data/docs/NgrokAPI/Models/SSHCredential.html +1 -1
  171. data/docs/NgrokAPI/Models/SSHHostCertificate.html +1 -1
  172. data/docs/NgrokAPI/Models/SSHUserCertificate.html +1 -1
  173. data/docs/NgrokAPI/Models/TLSCertificate.html +1 -1
  174. data/docs/NgrokAPI/Models/TLSCertificateSANs.html +1 -1
  175. data/docs/NgrokAPI/Models/Tunnel.html +1 -1
  176. data/docs/NgrokAPI/Models/TunnelSession.html +1 -1
  177. data/docs/NgrokAPI/Models.html +3 -3
  178. data/docs/NgrokAPI/PagedIterator.html +14 -10
  179. data/docs/NgrokAPI/Services/APIKeysClient.html +227 -62
  180. data/docs/NgrokAPI/Services/AbuseReportsClient.html +2 -5
  181. data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +206 -41
  182. data/docs/NgrokAPI/Services/CredentialsClient.html +213 -47
  183. data/docs/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +1 -1
  184. data/docs/NgrokAPI/Services/EndpointCompressionModuleClient.html +1 -1
  185. data/docs/NgrokAPI/Services/EndpointConfigurationsClient.html +281 -114
  186. data/docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +1 -1
  187. data/docs/NgrokAPI/Services/EndpointLoggingModuleClient.html +1 -1
  188. data/docs/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +1 -1
  189. data/docs/NgrokAPI/Services/EndpointOAuthModuleClient.html +1 -1
  190. data/docs/NgrokAPI/Services/EndpointOIDCModuleClient.html +1 -1
  191. data/docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +1 -1
  192. data/docs/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +1 -1
  193. data/docs/NgrokAPI/Services/EndpointSAMLModuleClient.html +1 -1
  194. data/docs/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +1 -1
  195. data/docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +1 -1
  196. data/docs/NgrokAPI/Services/EventDestinationsClient.html +221 -50
  197. data/docs/NgrokAPI/Services/EventSourcesClient.html +279 -33
  198. data/docs/NgrokAPI/Services/EventStreamsClient.html +218 -47
  199. data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +213 -42
  200. data/docs/NgrokAPI/Services/IPPoliciesClient.html +207 -41
  201. data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +210 -42
  202. data/docs/NgrokAPI/Services/IPRestrictionsClient.html +215 -51
  203. data/docs/NgrokAPI/Services/IPWhitelistClient.html +206 -38
  204. data/docs/NgrokAPI/Services/ReservedAddrsClient.html +230 -63
  205. data/docs/NgrokAPI/Services/ReservedDomainsClient.html +308 -142
  206. data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +208 -40
  207. data/docs/NgrokAPI/Services/SSHCredentialsClient.html +213 -45
  208. data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +207 -40
  209. data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +209 -42
  210. data/docs/NgrokAPI/Services/TLSCertificatesClient.html +208 -43
  211. data/docs/NgrokAPI/Services/TunnelSessionsClient.html +260 -93
  212. data/docs/NgrokAPI/Services/TunnelsClient.html +174 -6
  213. data/docs/NgrokAPI/Services.html +1 -1
  214. data/docs/NgrokAPI.html +2 -2
  215. data/docs/README +94 -0
  216. data/docs/_index.html +8 -8
  217. data/docs/class_list.html +1 -1
  218. data/docs/file.README.html +53 -26
  219. data/docs/index.html +53 -26
  220. data/docs/method_list.html +822 -630
  221. data/docs/top-level-namespace.html +1 -1
  222. data/lib/ngrokapi/client.rb +27 -8
  223. data/lib/ngrokapi/http_client.rb +5 -3
  224. data/lib/ngrokapi/models/{reserved_domain_cert_ns_target.rb → event_source_list.rb} +5 -5
  225. data/lib/ngrokapi/models/listable.rb +13 -2
  226. data/lib/ngrokapi/models/reserved_domain.rb +3 -1
  227. data/lib/ngrokapi/models/reserved_domain_cert_job.rb +1 -3
  228. data/lib/ngrokapi/paged_iterator.rb +4 -2
  229. data/lib/ngrokapi/services/api_keys_client.rb +36 -4
  230. data/lib/ngrokapi/services/certificate_authorities_client.rb +33 -0
  231. data/lib/ngrokapi/services/credentials_client.rb +35 -2
  232. data/lib/ngrokapi/services/endpoint_configurations_client.rb +33 -0
  233. data/lib/ngrokapi/services/event_destinations_client.rb +33 -0
  234. data/lib/ngrokapi/services/event_sources_client.rb +39 -0
  235. data/lib/ngrokapi/services/event_streams_client.rb +33 -0
  236. data/lib/ngrokapi/services/event_subscriptions_client.rb +33 -0
  237. data/lib/ngrokapi/services/ip_policies_client.rb +34 -1
  238. data/lib/ngrokapi/services/ip_policy_rules_client.rb +33 -0
  239. data/lib/ngrokapi/services/ip_restrictions_client.rb +33 -0
  240. data/lib/ngrokapi/services/ip_whitelist_client.rb +34 -1
  241. data/lib/ngrokapi/services/reserved_addrs_client.rb +33 -0
  242. data/lib/ngrokapi/services/reserved_domains_client.rb +33 -0
  243. data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +33 -0
  244. data/lib/ngrokapi/services/ssh_credentials_client.rb +33 -0
  245. data/lib/ngrokapi/services/ssh_host_certificates_client.rb +33 -0
  246. data/lib/ngrokapi/services/ssh_user_certificates_client.rb +33 -0
  247. data/lib/ngrokapi/services/tls_certificates_client.rb +33 -0
  248. data/lib/ngrokapi/services/tunnel_sessions_client.rb +33 -0
  249. data/lib/ngrokapi/services/tunnels_client.rb +33 -0
  250. data/lib/ngrokapi/version.rb +1 -1
  251. data/spec/ngrokapi/client_spec.rb +19 -0
  252. data/spec/ngrokapi/models/event_source_list_spec.rb +21 -0
  253. data/spec/ngrokapi/paged_iterator_spec.rb +2 -2
  254. data/spec/ngrokapi/services/abuse_reports_client_spec.rb +0 -2
  255. data/spec/ngrokapi/services/api_keys_client_spec.rb +0 -3
  256. data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +0 -3
  257. data/spec/ngrokapi/services/credentials_client_spec.rb +0 -3
  258. data/spec/ngrokapi/services/endpoint_circuit_breaker_module_client_spec.rb +0 -2
  259. data/spec/ngrokapi/services/endpoint_compression_module_client_spec.rb +0 -2
  260. data/spec/ngrokapi/services/endpoint_configurations_client_spec.rb +0 -3
  261. data/spec/ngrokapi/services/endpoint_ip_policy_module_client_spec.rb +0 -2
  262. data/spec/ngrokapi/services/endpoint_logging_module_client_spec.rb +0 -2
  263. data/spec/ngrokapi/services/endpoint_mutual_tls_module_client_spec.rb +0 -2
  264. data/spec/ngrokapi/services/endpoint_o_auth_module_client_spec.rb +0 -2
  265. data/spec/ngrokapi/services/endpoint_oidc_module_client_spec.rb +0 -2
  266. data/spec/ngrokapi/services/endpoint_request_headers_module_client_spec.rb +0 -2
  267. data/spec/ngrokapi/services/endpoint_response_headers_module_client_spec.rb +0 -2
  268. data/spec/ngrokapi/services/endpoint_saml_module_client_spec.rb +0 -2
  269. data/spec/ngrokapi/services/endpoint_tls_termination_module_client_spec.rb +0 -2
  270. data/spec/ngrokapi/services/endpoint_webhook_validation_module_client_spec.rb +0 -2
  271. data/spec/ngrokapi/services/event_destinations_client_spec.rb +0 -3
  272. data/spec/ngrokapi/services/event_sources_client_spec.rb +33 -3
  273. data/spec/ngrokapi/services/event_streams_client_spec.rb +0 -3
  274. data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +0 -3
  275. data/spec/ngrokapi/services/ip_policies_client_spec.rb +0 -3
  276. data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +0 -3
  277. data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +0 -3
  278. data/spec/ngrokapi/services/ip_whitelist_client_spec.rb +0 -3
  279. data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +0 -3
  280. data/spec/ngrokapi/services/reserved_domains_client_spec.rb +0 -3
  281. data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +0 -3
  282. data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +0 -3
  283. data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +0 -3
  284. data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +0 -3
  285. data/spec/ngrokapi/services/tls_certificates_client_spec.rb +0 -3
  286. data/spec/ngrokapi/services/tunnel_sessions_client_spec.rb +0 -1
  287. data/spec/spec_helper.rb +7 -0
  288. metadata +10 -7
  289. data/doc/.gitkeep +0 -0
  290. data/spec/ngrokapi/models/reserved_domain_cert_ns_target_spec.rb +0 -21
@@ -37,7 +37,6 @@ RSpec.describe NgrokAPI::Services::SSHHostCertificatesClient do
37
37
  metadata: "New metadata"
38
38
  )
39
39
  expect(result.class).to eq(NgrokAPI::Models::SSHHostCertificate)
40
- # expect(result.id).to eq(ssh_host_certificate_result["id"])
41
40
  end
42
41
  end
43
42
 
@@ -95,7 +94,6 @@ RSpec.describe NgrokAPI::Services::SSHHostCertificatesClient do
95
94
  id: ssh_host_certificate_result["id"]
96
95
  )
97
96
  expect(result.class).to eq(NgrokAPI::Models::SSHHostCertificate)
98
- # expect(result.id).to eq(ssh_host_certificate_result["id"])
99
97
  end
100
98
  end
101
99
 
@@ -143,7 +141,6 @@ RSpec.describe NgrokAPI::Services::SSHHostCertificatesClient do
143
141
  metadata: "New metadata"
144
142
  )
145
143
  expect(result.class).to eq(NgrokAPI::Models::SSHHostCertificate)
146
- # expect(result.id).to eq(ssh_host_certificate_result["id"])
147
144
  end
148
145
  end
149
146
 
@@ -41,7 +41,6 @@ RSpec.describe NgrokAPI::Services::SSHUserCertificatesClient do
41
41
  metadata: "New metadata"
42
42
  )
43
43
  expect(result.class).to eq(NgrokAPI::Models::SSHUserCertificate)
44
- # expect(result.id).to eq(ssh_user_certificate_result["id"])
45
44
  end
46
45
  end
47
46
 
@@ -99,7 +98,6 @@ RSpec.describe NgrokAPI::Services::SSHUserCertificatesClient do
99
98
  id: ssh_user_certificate_result["id"]
100
99
  )
101
100
  expect(result.class).to eq(NgrokAPI::Models::SSHUserCertificate)
102
- # expect(result.id).to eq(ssh_user_certificate_result["id"])
103
101
  end
104
102
  end
105
103
 
@@ -147,7 +145,6 @@ RSpec.describe NgrokAPI::Services::SSHUserCertificatesClient do
147
145
  metadata: "New metadata"
148
146
  )
149
147
  expect(result.class).to eq(NgrokAPI::Models::SSHUserCertificate)
150
- # expect(result.id).to eq(ssh_user_certificate_result["id"])
151
148
  end
152
149
  end
153
150
 
@@ -31,7 +31,6 @@ RSpec.describe NgrokAPI::Services::TLSCertificatesClient do
31
31
  private_key_pem: "New private_key_pem"
32
32
  )
33
33
  expect(result.class).to eq(NgrokAPI::Models::TLSCertificate)
34
- # expect(result.id).to eq(tls_certificate_result["id"])
35
34
  end
36
35
  end
37
36
 
@@ -89,7 +88,6 @@ RSpec.describe NgrokAPI::Services::TLSCertificatesClient do
89
88
  id: tls_certificate_result["id"]
90
89
  )
91
90
  expect(result.class).to eq(NgrokAPI::Models::TLSCertificate)
92
- # expect(result.id).to eq(tls_certificate_result["id"])
93
91
  end
94
92
  end
95
93
 
@@ -137,7 +135,6 @@ RSpec.describe NgrokAPI::Services::TLSCertificatesClient do
137
135
  metadata: "New metadata"
138
136
  )
139
137
  expect(result.class).to eq(NgrokAPI::Models::TLSCertificate)
140
- # expect(result.id).to eq(tls_certificate_result["id"])
141
138
  end
142
139
  end
143
140
 
@@ -35,7 +35,6 @@ RSpec.describe NgrokAPI::Services::TunnelSessionsClient do
35
35
  id: tunnel_session_result["id"]
36
36
  )
37
37
  expect(result.class).to eq(NgrokAPI::Models::TunnelSession)
38
- # expect(result.id).to eq(tunnel_session_result["id"])
39
38
  end
40
39
  end
41
40
 
data/spec/spec_helper.rb CHANGED
@@ -497,6 +497,13 @@ def event_source_result
497
497
  }
498
498
  end
499
499
 
500
+ def event_source_list_result
501
+ {
502
+ "sources" => [],
503
+ "uri" => "https://api.ngrok.com/event_sources",
504
+ }
505
+ end
506
+
500
507
  def event_subscription_result
501
508
  {
502
509
  "id" => "esb_1ro7av77nFHjRVO7GwDxRE7TElG",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ngrok-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-04 00:00:00.000000000 Z
11
+ date: 1980-01-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  This library wraps the [ngrok HTTP API](https://ngrok.com/docs/api) to make
@@ -24,11 +24,12 @@ files:
24
24
  - ".rubocop.yml"
25
25
  - ".rubocop_airbnb.yml"
26
26
  - ".simplecov"
27
+ - ".yardopts"
27
28
  - Gemfile
28
29
  - Guardfile
30
+ - LICENSE
29
31
  - README.md
30
32
  - Rakefile
31
- - doc/.gitkeep
32
33
  - doc/NgrokAPI.html
33
34
  - doc/NgrokAPI/Client.html
34
35
  - doc/NgrokAPI/Error.html
@@ -68,6 +69,7 @@ files:
68
69
  - doc/NgrokAPI/Models/EndpointWebhookValidation.html
69
70
  - doc/NgrokAPI/Models/EventDestination.html
70
71
  - doc/NgrokAPI/Models/EventSource.html
72
+ - doc/NgrokAPI/Models/EventSourceList.html
71
73
  - doc/NgrokAPI/Models/EventSourceReplace.html
72
74
  - doc/NgrokAPI/Models/EventStream.html
73
75
  - doc/NgrokAPI/Models/EventSubscription.html
@@ -84,7 +86,6 @@ files:
84
86
  - doc/NgrokAPI/Models/ReservedAddr.html
85
87
  - doc/NgrokAPI/Models/ReservedDomain.html
86
88
  - doc/NgrokAPI/Models/ReservedDomainCertJob.html
87
- - doc/NgrokAPI/Models/ReservedDomainCertNSTarget.html
88
89
  - doc/NgrokAPI/Models/ReservedDomainCertPolicy.html
89
90
  - doc/NgrokAPI/Models/ReservedDomainCertStatus.html
90
91
  - doc/NgrokAPI/Models/SSHCertificateAuthority.html
@@ -131,6 +132,7 @@ files:
131
132
  - doc/NgrokAPI/Services/TLSCertificatesClient.html
132
133
  - doc/NgrokAPI/Services/TunnelSessionsClient.html
133
134
  - doc/NgrokAPI/Services/TunnelsClient.html
135
+ - doc/README
134
136
  - doc/_index.html
135
137
  - doc/class_list.html
136
138
  - doc/css/common.css
@@ -185,6 +187,7 @@ files:
185
187
  - docs/NgrokAPI/Models/EndpointWebhookValidation.html
186
188
  - docs/NgrokAPI/Models/EventDestination.html
187
189
  - docs/NgrokAPI/Models/EventSource.html
190
+ - docs/NgrokAPI/Models/EventSourceList.html
188
191
  - docs/NgrokAPI/Models/EventSourceReplace.html
189
192
  - docs/NgrokAPI/Models/EventStream.html
190
193
  - docs/NgrokAPI/Models/EventSubscription.html
@@ -201,7 +204,6 @@ files:
201
204
  - docs/NgrokAPI/Models/ReservedAddr.html
202
205
  - docs/NgrokAPI/Models/ReservedDomain.html
203
206
  - docs/NgrokAPI/Models/ReservedDomainCertJob.html
204
- - docs/NgrokAPI/Models/ReservedDomainCertNSTarget.html
205
207
  - docs/NgrokAPI/Models/ReservedDomainCertPolicy.html
206
208
  - docs/NgrokAPI/Models/ReservedDomainCertStatus.html
207
209
  - docs/NgrokAPI/Models/SSHCertificateAuthority.html
@@ -248,6 +250,7 @@ files:
248
250
  - docs/NgrokAPI/Services/TLSCertificatesClient.html
249
251
  - docs/NgrokAPI/Services/TunnelSessionsClient.html
250
252
  - docs/NgrokAPI/Services/TunnelsClient.html
253
+ - docs/README
251
254
  - docs/_index.html
252
255
  - docs/class_list.html
253
256
  - docs/css/common.css
@@ -299,6 +302,7 @@ files:
299
302
  - lib/ngrokapi/models/endpoint_webhook_validation.rb
300
303
  - lib/ngrokapi/models/event_destination.rb
301
304
  - lib/ngrokapi/models/event_source.rb
305
+ - lib/ngrokapi/models/event_source_list.rb
302
306
  - lib/ngrokapi/models/event_source_replace.rb
303
307
  - lib/ngrokapi/models/event_stream.rb
304
308
  - lib/ngrokapi/models/event_subscription.rb
@@ -315,7 +319,6 @@ files:
315
319
  - lib/ngrokapi/models/reserved_addr.rb
316
320
  - lib/ngrokapi/models/reserved_domain.rb
317
321
  - lib/ngrokapi/models/reserved_domain_cert_job.rb
318
- - lib/ngrokapi/models/reserved_domain_cert_ns_target.rb
319
322
  - lib/ngrokapi/models/reserved_domain_cert_policy.rb
320
323
  - lib/ngrokapi/models/reserved_domain_cert_status.rb
321
324
  - lib/ngrokapi/models/ssh_certificate_authority.rb
@@ -397,6 +400,7 @@ files:
397
400
  - spec/ngrokapi/models/endpoint_tls_termination_spec.rb
398
401
  - spec/ngrokapi/models/endpoint_webhook_validation_spec.rb
399
402
  - spec/ngrokapi/models/event_destination_spec.rb
403
+ - spec/ngrokapi/models/event_source_list_spec.rb
400
404
  - spec/ngrokapi/models/event_source_replace_spec.rb
401
405
  - spec/ngrokapi/models/event_source_spec.rb
402
406
  - spec/ngrokapi/models/event_stream_spec.rb
@@ -413,7 +417,6 @@ files:
413
417
  - spec/ngrokapi/models/ref_spec.rb
414
418
  - spec/ngrokapi/models/reserved_addr_spec.rb
415
419
  - spec/ngrokapi/models/reserved_domain_cert_job_spec.rb
416
- - spec/ngrokapi/models/reserved_domain_cert_ns_target_spec.rb
417
420
  - spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb
418
421
  - spec/ngrokapi/models/reserved_domain_cert_status_spec.rb
419
422
  - spec/ngrokapi/models/reserved_domain_spec.rb
data/doc/.gitkeep DELETED
File without changes
@@ -1,21 +0,0 @@
1
- require 'spec_helper'
2
-
3
- RSpec.describe NgrokAPI::Models::ReservedDomainCertNSTarget do
4
- before(:each) do
5
- @client = class_double("ReservedDomainCertNSTargetsClient")
6
- @reserved_domain_cert_ns_target = NgrokAPI::Models::ReservedDomainCertNSTarget.new(client: @client, result: reserved_domain_cert_ns_target_result)
7
- end
8
-
9
- describe "#==" do
10
- it "is equal if the results are the same" do
11
- other = NgrokAPI::Models::ReservedDomainCertNSTarget.new(client: @client, result: reserved_domain_cert_ns_target_result)
12
- expect(@reserved_domain_cert_ns_target == other).to eq true
13
- end
14
- end
15
-
16
- describe "#to_s" do
17
- it "stringifies as result.to_s" do
18
- expect(@reserved_domain_cert_ns_target.to_s).to eq reserved_domain_cert_ns_target_result.to_s
19
- end
20
- end
21
- end