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.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/LICENSE +7 -0
- data/doc/NgrokAPI/Client.html +184 -182
- data/doc/NgrokAPI/Error.html +1 -1
- data/doc/NgrokAPI/Errors/NotFoundError.html +1 -1
- data/doc/NgrokAPI/Errors.html +1 -1
- data/doc/NgrokAPI/HttpClient.html +55 -19
- data/doc/NgrokAPI/Models/APIKey.html +1 -1
- data/doc/NgrokAPI/Models/AWSAuth.html +1 -1
- data/doc/NgrokAPI/Models/AWSCredentials.html +1 -1
- data/doc/NgrokAPI/Models/AWSRole.html +1 -1
- data/doc/NgrokAPI/Models/AbuseReport.html +1 -1
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +1 -1
- data/doc/NgrokAPI/Models/CertificateAuthority.html +1 -1
- data/doc/NgrokAPI/Models/Credential.html +1 -1
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +1 -1
- data/doc/NgrokAPI/Models/EndpointCompression.html +1 -1
- data/doc/NgrokAPI/Models/EndpointConfiguration.html +1 -1
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +1 -1
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +1 -1
- data/doc/NgrokAPI/Models/EndpointLogging.html +1 -1
- data/doc/NgrokAPI/Models/EndpointLoggingMutate.html +1 -1
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +1 -1
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +1 -1
- data/doc/NgrokAPI/Models/EndpointOAuth.html +1 -1
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +1 -1
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +1 -1
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +1 -1
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +1 -1
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +1 -1
- data/doc/NgrokAPI/Models/EndpointOIDC.html +1 -1
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +1 -1
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +1 -1
- data/doc/NgrokAPI/Models/EndpointSAML.html +1 -1
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +1 -1
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +1 -1
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +1 -1
- data/doc/NgrokAPI/Models/EventDestination.html +1 -1
- data/doc/NgrokAPI/Models/EventSource.html +1 -1
- data/doc/NgrokAPI/Models/{ReservedDomainCertNSTarget.html → EventSourceList.html} +42 -42
- data/doc/NgrokAPI/Models/EventSourceReplace.html +1 -1
- data/doc/NgrokAPI/Models/EventStream.html +1 -1
- data/doc/NgrokAPI/Models/EventSubscription.html +1 -1
- data/doc/NgrokAPI/Models/EventTarget.html +1 -1
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +1 -1
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +1 -1
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +1 -1
- data/doc/NgrokAPI/Models/IPPolicy.html +1 -1
- data/doc/NgrokAPI/Models/IPPolicyRule.html +1 -1
- data/doc/NgrokAPI/Models/IPRestriction.html +1 -1
- data/doc/NgrokAPI/Models/IPWhitelistEntry.html +1 -1
- data/doc/NgrokAPI/Models/Listable.html +118 -50
- data/doc/NgrokAPI/Models/Ref.html +1 -1
- data/doc/NgrokAPI/Models/ReservedAddr.html +1 -1
- data/doc/NgrokAPI/Models/ReservedDomain.html +91 -17
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +12 -86
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +1 -1
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +1 -1
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +1 -1
- data/doc/NgrokAPI/Models/SSHCredential.html +1 -1
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +1 -1
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +1 -1
- data/doc/NgrokAPI/Models/TLSCertificate.html +1 -1
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +1 -1
- data/doc/NgrokAPI/Models/Tunnel.html +1 -1
- data/doc/NgrokAPI/Models/TunnelSession.html +1 -1
- data/doc/NgrokAPI/Models.html +3 -3
- data/doc/NgrokAPI/PagedIterator.html +14 -10
- data/doc/NgrokAPI/Services/APIKeysClient.html +227 -62
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +2 -5
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +206 -41
- data/doc/NgrokAPI/Services/CredentialsClient.html +213 -47
- data/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +281 -114
- data/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +1 -1
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +221 -50
- data/doc/NgrokAPI/Services/EventSourcesClient.html +279 -33
- data/doc/NgrokAPI/Services/EventStreamsClient.html +218 -47
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +213 -42
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +207 -41
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +210 -42
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +215 -51
- data/doc/NgrokAPI/Services/IPWhitelistClient.html +206 -38
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +230 -63
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +308 -142
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +208 -40
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +213 -45
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +207 -40
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +209 -42
- data/doc/NgrokAPI/Services/TLSCertificatesClient.html +208 -43
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +260 -93
- data/doc/NgrokAPI/Services/TunnelsClient.html +174 -6
- data/doc/NgrokAPI/Services.html +1 -1
- data/doc/NgrokAPI.html +2 -2
- data/doc/README +94 -0
- data/doc/_index.html +8 -8
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +53 -26
- data/doc/index.html +53 -26
- data/doc/method_list.html +822 -630
- data/doc/top-level-namespace.html +1 -1
- data/docs/NgrokAPI/Client.html +184 -182
- data/docs/NgrokAPI/Error.html +1 -1
- data/docs/NgrokAPI/Errors/NotFoundError.html +1 -1
- data/docs/NgrokAPI/Errors.html +1 -1
- data/docs/NgrokAPI/HttpClient.html +55 -19
- data/docs/NgrokAPI/Models/APIKey.html +1 -1
- data/docs/NgrokAPI/Models/AWSAuth.html +1 -1
- data/docs/NgrokAPI/Models/AWSCredentials.html +1 -1
- data/docs/NgrokAPI/Models/AWSRole.html +1 -1
- data/docs/NgrokAPI/Models/AbuseReport.html +1 -1
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +1 -1
- data/docs/NgrokAPI/Models/CertificateAuthority.html +1 -1
- data/docs/NgrokAPI/Models/Credential.html +1 -1
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +1 -1
- data/docs/NgrokAPI/Models/EndpointCompression.html +1 -1
- data/docs/NgrokAPI/Models/EndpointConfiguration.html +1 -1
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +1 -1
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +1 -1
- data/docs/NgrokAPI/Models/EndpointLogging.html +1 -1
- data/docs/NgrokAPI/Models/EndpointLoggingMutate.html +1 -1
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +1 -1
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +1 -1
- data/docs/NgrokAPI/Models/EndpointOAuth.html +1 -1
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +1 -1
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +1 -1
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +1 -1
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +1 -1
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +1 -1
- data/docs/NgrokAPI/Models/EndpointOIDC.html +1 -1
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +1 -1
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +1 -1
- data/docs/NgrokAPI/Models/EndpointSAML.html +1 -1
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +1 -1
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +1 -1
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +1 -1
- data/docs/NgrokAPI/Models/EventDestination.html +1 -1
- data/docs/NgrokAPI/Models/EventSource.html +1 -1
- data/docs/NgrokAPI/Models/{ReservedDomainCertNSTarget.html → EventSourceList.html} +42 -42
- data/docs/NgrokAPI/Models/EventSourceReplace.html +1 -1
- data/docs/NgrokAPI/Models/EventStream.html +1 -1
- data/docs/NgrokAPI/Models/EventSubscription.html +1 -1
- data/docs/NgrokAPI/Models/EventTarget.html +1 -1
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +1 -1
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +1 -1
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +1 -1
- data/docs/NgrokAPI/Models/IPPolicy.html +1 -1
- data/docs/NgrokAPI/Models/IPPolicyRule.html +1 -1
- data/docs/NgrokAPI/Models/IPRestriction.html +1 -1
- data/docs/NgrokAPI/Models/IPWhitelistEntry.html +1 -1
- data/docs/NgrokAPI/Models/Listable.html +118 -50
- data/docs/NgrokAPI/Models/Ref.html +1 -1
- data/docs/NgrokAPI/Models/ReservedAddr.html +1 -1
- data/docs/NgrokAPI/Models/ReservedDomain.html +91 -17
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +12 -86
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +1 -1
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +1 -1
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +1 -1
- data/docs/NgrokAPI/Models/SSHCredential.html +1 -1
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +1 -1
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +1 -1
- data/docs/NgrokAPI/Models/TLSCertificate.html +1 -1
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +1 -1
- data/docs/NgrokAPI/Models/Tunnel.html +1 -1
- data/docs/NgrokAPI/Models/TunnelSession.html +1 -1
- data/docs/NgrokAPI/Models.html +3 -3
- data/docs/NgrokAPI/PagedIterator.html +14 -10
- data/docs/NgrokAPI/Services/APIKeysClient.html +227 -62
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +2 -5
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +206 -41
- data/docs/NgrokAPI/Services/CredentialsClient.html +213 -47
- data/docs/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointCompressionModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointConfigurationsClient.html +281 -114
- data/docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointLoggingModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointOAuthModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointOIDCModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointSAMLModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +1 -1
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +221 -50
- data/docs/NgrokAPI/Services/EventSourcesClient.html +279 -33
- data/docs/NgrokAPI/Services/EventStreamsClient.html +218 -47
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +213 -42
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +207 -41
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +210 -42
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +215 -51
- data/docs/NgrokAPI/Services/IPWhitelistClient.html +206 -38
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +230 -63
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +308 -142
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +208 -40
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +213 -45
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +207 -40
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +209 -42
- data/docs/NgrokAPI/Services/TLSCertificatesClient.html +208 -43
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +260 -93
- data/docs/NgrokAPI/Services/TunnelsClient.html +174 -6
- data/docs/NgrokAPI/Services.html +1 -1
- data/docs/NgrokAPI.html +2 -2
- data/docs/README +94 -0
- data/docs/_index.html +8 -8
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +53 -26
- data/docs/index.html +53 -26
- data/docs/method_list.html +822 -630
- data/docs/top-level-namespace.html +1 -1
- data/lib/ngrokapi/client.rb +27 -8
- data/lib/ngrokapi/http_client.rb +5 -3
- data/lib/ngrokapi/models/{reserved_domain_cert_ns_target.rb → event_source_list.rb} +5 -5
- data/lib/ngrokapi/models/listable.rb +13 -2
- data/lib/ngrokapi/models/reserved_domain.rb +3 -1
- data/lib/ngrokapi/models/reserved_domain_cert_job.rb +1 -3
- data/lib/ngrokapi/paged_iterator.rb +4 -2
- data/lib/ngrokapi/services/api_keys_client.rb +36 -4
- data/lib/ngrokapi/services/certificate_authorities_client.rb +33 -0
- data/lib/ngrokapi/services/credentials_client.rb +35 -2
- data/lib/ngrokapi/services/endpoint_configurations_client.rb +33 -0
- data/lib/ngrokapi/services/event_destinations_client.rb +33 -0
- data/lib/ngrokapi/services/event_sources_client.rb +39 -0
- data/lib/ngrokapi/services/event_streams_client.rb +33 -0
- data/lib/ngrokapi/services/event_subscriptions_client.rb +33 -0
- data/lib/ngrokapi/services/ip_policies_client.rb +34 -1
- data/lib/ngrokapi/services/ip_policy_rules_client.rb +33 -0
- data/lib/ngrokapi/services/ip_restrictions_client.rb +33 -0
- data/lib/ngrokapi/services/ip_whitelist_client.rb +34 -1
- data/lib/ngrokapi/services/reserved_addrs_client.rb +33 -0
- data/lib/ngrokapi/services/reserved_domains_client.rb +33 -0
- data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +33 -0
- data/lib/ngrokapi/services/ssh_credentials_client.rb +33 -0
- data/lib/ngrokapi/services/ssh_host_certificates_client.rb +33 -0
- data/lib/ngrokapi/services/ssh_user_certificates_client.rb +33 -0
- data/lib/ngrokapi/services/tls_certificates_client.rb +33 -0
- data/lib/ngrokapi/services/tunnel_sessions_client.rb +33 -0
- data/lib/ngrokapi/services/tunnels_client.rb +33 -0
- data/lib/ngrokapi/version.rb +1 -1
- data/spec/ngrokapi/client_spec.rb +19 -0
- data/spec/ngrokapi/models/event_source_list_spec.rb +21 -0
- data/spec/ngrokapi/paged_iterator_spec.rb +2 -2
- data/spec/ngrokapi/services/abuse_reports_client_spec.rb +0 -2
- data/spec/ngrokapi/services/api_keys_client_spec.rb +0 -3
- data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +0 -3
- data/spec/ngrokapi/services/credentials_client_spec.rb +0 -3
- data/spec/ngrokapi/services/endpoint_circuit_breaker_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_compression_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_configurations_client_spec.rb +0 -3
- data/spec/ngrokapi/services/endpoint_ip_policy_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_logging_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_mutual_tls_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_o_auth_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_oidc_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_request_headers_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_response_headers_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_saml_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_tls_termination_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/endpoint_webhook_validation_module_client_spec.rb +0 -2
- data/spec/ngrokapi/services/event_destinations_client_spec.rb +0 -3
- data/spec/ngrokapi/services/event_sources_client_spec.rb +33 -3
- data/spec/ngrokapi/services/event_streams_client_spec.rb +0 -3
- data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +0 -3
- data/spec/ngrokapi/services/ip_policies_client_spec.rb +0 -3
- data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +0 -3
- data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +0 -3
- data/spec/ngrokapi/services/ip_whitelist_client_spec.rb +0 -3
- data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +0 -3
- data/spec/ngrokapi/services/reserved_domains_client_spec.rb +0 -3
- data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +0 -3
- data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +0 -3
- data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +0 -3
- data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +0 -3
- data/spec/ngrokapi/services/tls_certificates_client_spec.rb +0 -3
- data/spec/ngrokapi/services/tunnel_sessions_client_spec.rb +0 -1
- data/spec/spec_helper.rb +7 -0
- metadata +10 -7
- data/doc/.gitkeep +0 -0
- 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
|
|
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.
|
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:
|
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
|