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
@@ -67,7 +67,7 @@ RSpec.describe NgrokAPI::PagedIterator do
|
|
67
67
|
page: empty_page,
|
68
68
|
list_property: 'keys'
|
69
69
|
)
|
70
|
-
expect(client).to receive(:list).with({ url: next_page_uri }).and_return(page)
|
70
|
+
expect(client).to receive(:list).with({ danger: false, url: next_page_uri }).and_return(page)
|
71
71
|
expect(paged_iterator.get_next).to eq(api_key_result)
|
72
72
|
end
|
73
73
|
|
@@ -77,7 +77,7 @@ RSpec.describe NgrokAPI::PagedIterator do
|
|
77
77
|
page: empty_page,
|
78
78
|
list_property: 'keys'
|
79
79
|
)
|
80
|
-
expect(client).to receive(:list).with({ url: next_page_uri }).and_return(empty_last_page)
|
80
|
+
expect(client).to receive(:list).with({ danger: false, url: next_page_uri }).and_return(empty_last_page)
|
81
81
|
expect(paged_iterator.get_next).to eq(nil)
|
82
82
|
end
|
83
83
|
end
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::AbuseReportsClient do
|
|
27
27
|
metadata: "New metadata"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::AbuseReport)
|
30
|
-
# expect(result.id).to eq(abuse_report_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -44,7 +43,6 @@ RSpec.describe NgrokAPI::Services::AbuseReportsClient do
|
|
44
43
|
id: abuse_report_result["id"]
|
45
44
|
)
|
46
45
|
expect(result.class).to eq(NgrokAPI::Models::AbuseReport)
|
47
|
-
# expect(result.id).to eq(abuse_report_result["id"])
|
48
46
|
end
|
49
47
|
end
|
50
48
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::APIKeysClient do
|
|
27
27
|
metadata: "New metadata"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::APIKey)
|
30
|
-
# expect(result.id).to eq(api_key_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -85,7 +84,6 @@ RSpec.describe NgrokAPI::Services::APIKeysClient do
|
|
85
84
|
id: api_key_result["id"]
|
86
85
|
)
|
87
86
|
expect(result.class).to eq(NgrokAPI::Models::APIKey)
|
88
|
-
# expect(result.id).to eq(api_key_result["id"])
|
89
87
|
end
|
90
88
|
end
|
91
89
|
|
@@ -133,7 +131,6 @@ RSpec.describe NgrokAPI::Services::APIKeysClient do
|
|
133
131
|
metadata: "New metadata"
|
134
132
|
)
|
135
133
|
expect(result.class).to eq(NgrokAPI::Models::APIKey)
|
136
|
-
# expect(result.id).to eq(api_key_result["id"])
|
137
134
|
end
|
138
135
|
end
|
139
136
|
|
@@ -29,7 +29,6 @@ RSpec.describe NgrokAPI::Services::CertificateAuthoritiesClient do
|
|
29
29
|
ca_pem: "New ca_pem"
|
30
30
|
)
|
31
31
|
expect(result.class).to eq(NgrokAPI::Models::CertificateAuthority)
|
32
|
-
# expect(result.id).to eq(certificate_authority_result["id"])
|
33
32
|
end
|
34
33
|
end
|
35
34
|
|
@@ -87,7 +86,6 @@ RSpec.describe NgrokAPI::Services::CertificateAuthoritiesClient do
|
|
87
86
|
id: certificate_authority_result["id"]
|
88
87
|
)
|
89
88
|
expect(result.class).to eq(NgrokAPI::Models::CertificateAuthority)
|
90
|
-
# expect(result.id).to eq(certificate_authority_result["id"])
|
91
89
|
end
|
92
90
|
end
|
93
91
|
|
@@ -135,7 +133,6 @@ RSpec.describe NgrokAPI::Services::CertificateAuthoritiesClient do
|
|
135
133
|
metadata: "New metadata"
|
136
134
|
)
|
137
135
|
expect(result.class).to eq(NgrokAPI::Models::CertificateAuthority)
|
138
|
-
# expect(result.id).to eq(certificate_authority_result["id"])
|
139
136
|
end
|
140
137
|
end
|
141
138
|
|
@@ -29,7 +29,6 @@ RSpec.describe NgrokAPI::Services::CredentialsClient do
|
|
29
29
|
acl: "New acl"
|
30
30
|
)
|
31
31
|
expect(result.class).to eq(NgrokAPI::Models::Credential)
|
32
|
-
# expect(result.id).to eq(credential_result["id"])
|
33
32
|
end
|
34
33
|
end
|
35
34
|
|
@@ -87,7 +86,6 @@ RSpec.describe NgrokAPI::Services::CredentialsClient do
|
|
87
86
|
id: credential_result["id"]
|
88
87
|
)
|
89
88
|
expect(result.class).to eq(NgrokAPI::Models::Credential)
|
90
|
-
# expect(result.id).to eq(credential_result["id"])
|
91
89
|
end
|
92
90
|
end
|
93
91
|
|
@@ -137,7 +135,6 @@ RSpec.describe NgrokAPI::Services::CredentialsClient do
|
|
137
135
|
acl: "New acl"
|
138
136
|
)
|
139
137
|
expect(result.class).to eq(NgrokAPI::Models::Credential)
|
140
|
-
# expect(result.id).to eq(credential_result["id"])
|
141
138
|
end
|
142
139
|
end
|
143
140
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointCircuitBreakerModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointCircuitBreaker)
|
30
|
-
# expect(result.id).to eq(endpoint_circuit_breaker_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointCircuitBreakerModuleClient do
|
|
63
62
|
id: endpoint_circuit_breaker_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointCircuitBreaker)
|
66
|
-
# expect(result.id).to eq(endpoint_circuit_breaker_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointCompressionModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointCompression)
|
30
|
-
# expect(result.id).to eq(endpoint_compression_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointCompressionModuleClient do
|
|
63
62
|
id: endpoint_compression_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointCompression)
|
66
|
-
# expect(result.id).to eq(endpoint_compression_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -55,7 +55,6 @@ RSpec.describe NgrokAPI::Services::EndpointConfigurationsClient do
|
|
55
55
|
backend: "New backend"
|
56
56
|
)
|
57
57
|
expect(result.class).to eq(NgrokAPI::Models::EndpointConfiguration)
|
58
|
-
# expect(result.id).to eq(endpoint_configuration_result["id"])
|
59
58
|
end
|
60
59
|
end
|
61
60
|
|
@@ -113,7 +112,6 @@ RSpec.describe NgrokAPI::Services::EndpointConfigurationsClient do
|
|
113
112
|
id: endpoint_configuration_result["id"]
|
114
113
|
)
|
115
114
|
expect(result.class).to eq(NgrokAPI::Models::EndpointConfiguration)
|
116
|
-
# expect(result.id).to eq(endpoint_configuration_result["id"])
|
117
115
|
end
|
118
116
|
end
|
119
117
|
|
@@ -187,7 +185,6 @@ RSpec.describe NgrokAPI::Services::EndpointConfigurationsClient do
|
|
187
185
|
backend: "New backend"
|
188
186
|
)
|
189
187
|
expect(result.class).to eq(NgrokAPI::Models::EndpointConfiguration)
|
190
|
-
# expect(result.id).to eq(endpoint_configuration_result["id"])
|
191
188
|
end
|
192
189
|
end
|
193
190
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointIPPolicyModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointIPPolicy)
|
30
|
-
# expect(result.id).to eq(endpoint_ip_policy_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointIPPolicyModuleClient do
|
|
63
62
|
id: endpoint_ip_policy_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointIPPolicy)
|
66
|
-
# expect(result.id).to eq(endpoint_ip_policy_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointLoggingModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointLogging)
|
30
|
-
# expect(result.id).to eq(endpoint_logging_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointLoggingModuleClient do
|
|
63
62
|
id: endpoint_logging_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointLogging)
|
66
|
-
# expect(result.id).to eq(endpoint_logging_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointMutualTLSModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointMutualTLS)
|
30
|
-
# expect(result.id).to eq(endpoint_mutual_tls_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointMutualTLSModuleClient do
|
|
63
62
|
id: endpoint_mutual_tls_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointMutualTLS)
|
66
|
-
# expect(result.id).to eq(endpoint_mutual_tls_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointOAuthModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointOAuth)
|
30
|
-
# expect(result.id).to eq(endpoint_o_auth_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointOAuthModuleClient do
|
|
63
62
|
id: endpoint_o_auth_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointOAuth)
|
66
|
-
# expect(result.id).to eq(endpoint_o_auth_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointOIDCModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointOIDC)
|
30
|
-
# expect(result.id).to eq(endpoint_oidc_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointOIDCModuleClient do
|
|
63
62
|
id: endpoint_oidc_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointOIDC)
|
66
|
-
# expect(result.id).to eq(endpoint_oidc_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointRequestHeadersModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointRequestHeaders)
|
30
|
-
# expect(result.id).to eq(endpoint_request_headers_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointRequestHeadersModuleClient do
|
|
63
62
|
id: endpoint_request_headers_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointRequestHeaders)
|
66
|
-
# expect(result.id).to eq(endpoint_request_headers_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointResponseHeadersModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointResponseHeaders)
|
30
|
-
# expect(result.id).to eq(endpoint_response_headers_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointResponseHeadersModuleClient do
|
|
63
62
|
id: endpoint_response_headers_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointResponseHeaders)
|
66
|
-
# expect(result.id).to eq(endpoint_response_headers_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointSAMLModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointSAML)
|
30
|
-
# expect(result.id).to eq(endpoint_saml_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointSAMLModuleClient do
|
|
63
62
|
id: endpoint_saml_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointSAML)
|
66
|
-
# expect(result.id).to eq(endpoint_saml_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointTLSTerminationModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointTLSTermination)
|
30
|
-
# expect(result.id).to eq(endpoint_tls_termination_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointTLSTerminationModuleClient do
|
|
63
62
|
id: endpoint_tls_termination_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointTLSTermination)
|
66
|
-
# expect(result.id).to eq(endpoint_tls_termination_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -27,7 +27,6 @@ RSpec.describe NgrokAPI::Services::EndpointWebhookValidationModuleClient do
|
|
27
27
|
a_module: "New a_module"
|
28
28
|
)
|
29
29
|
expect(result.class).to eq(NgrokAPI::Models::EndpointWebhookValidation)
|
30
|
-
# expect(result.id).to eq(endpoint_webhook_validation_result["id"])
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
@@ -63,7 +62,6 @@ RSpec.describe NgrokAPI::Services::EndpointWebhookValidationModuleClient do
|
|
63
62
|
id: endpoint_webhook_validation_result["id"]
|
64
63
|
)
|
65
64
|
expect(result.class).to eq(NgrokAPI::Models::EndpointWebhookValidation)
|
66
|
-
# expect(result.id).to eq(endpoint_webhook_validation_result["id"])
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
@@ -32,7 +32,6 @@ RSpec.describe NgrokAPI::Services::EventDestinationsClient do
|
|
32
32
|
verify_with_test_event: "New verify_with_test_event"
|
33
33
|
)
|
34
34
|
expect(result.class).to eq(NgrokAPI::Models::EventDestination)
|
35
|
-
# expect(result.id).to eq(event_destination_result["id"])
|
36
35
|
end
|
37
36
|
end
|
38
37
|
|
@@ -90,7 +89,6 @@ RSpec.describe NgrokAPI::Services::EventDestinationsClient do
|
|
90
89
|
id: event_destination_result["id"]
|
91
90
|
)
|
92
91
|
expect(result.class).to eq(NgrokAPI::Models::EventDestination)
|
93
|
-
# expect(result.id).to eq(event_destination_result["id"])
|
94
92
|
end
|
95
93
|
end
|
96
94
|
|
@@ -143,7 +141,6 @@ RSpec.describe NgrokAPI::Services::EventDestinationsClient do
|
|
143
141
|
verify_with_test_event: "New verify_with_test_event"
|
144
142
|
)
|
145
143
|
expect(result.class).to eq(NgrokAPI::Models::EventDestination)
|
146
|
-
# expect(result.id).to eq(event_destination_result["id"])
|
147
144
|
end
|
148
145
|
end
|
149
146
|
|
@@ -29,7 +29,6 @@ RSpec.describe NgrokAPI::Services::EventSourcesClient do
|
|
29
29
|
fields: "New fields"
|
30
30
|
)
|
31
31
|
expect(result.class).to eq(NgrokAPI::Models::EventSource)
|
32
|
-
# expect(result.id).to eq(event_source_result["id"])
|
33
32
|
end
|
34
33
|
end
|
35
34
|
|
@@ -95,7 +94,6 @@ RSpec.describe NgrokAPI::Services::EventSourcesClient do
|
|
95
94
|
type: event_source_result["type"]
|
96
95
|
)
|
97
96
|
expect(result.class).to eq(NgrokAPI::Models::EventSource)
|
98
|
-
# expect(result.id).to eq(event_source_result["id"])
|
99
97
|
end
|
100
98
|
end
|
101
99
|
|
@@ -118,6 +116,39 @@ RSpec.describe NgrokAPI::Services::EventSourcesClient do
|
|
118
116
|
end
|
119
117
|
end
|
120
118
|
|
119
|
+
describe "#list" do
|
120
|
+
it "will make a get request and return an instance of NgrokAPI::Models::EventSourceList" do
|
121
|
+
path = '/event_subscriptions/%{subscription_id}/sources'
|
122
|
+
replacements = {
|
123
|
+
subscription_id: event_source_list_result["subscription_id"],
|
124
|
+
}
|
125
|
+
data = {}
|
126
|
+
expect(@client).to receive(:get).with(path % replacements, data: data).
|
127
|
+
and_return(event_source_list_result)
|
128
|
+
result = @event_sources_client.list(
|
129
|
+
subscription_id: event_source_list_result["subscription_id"]
|
130
|
+
)
|
131
|
+
expect(result.class).to eq(NgrokAPI::Models::EventSourceList)
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
describe "#list!" do
|
136
|
+
it "will make a get request and return an instance of NgrokAPI::Models::EventSourceList" do
|
137
|
+
path = '/event_subscriptions/%{subscription_id}/sources'
|
138
|
+
replacements = {
|
139
|
+
subscription_id: event_source_list_result["subscription_id"],
|
140
|
+
}
|
141
|
+
data = {}
|
142
|
+
expect(@client).to receive(:get).with(path % replacements, data: data).
|
143
|
+
and_return(event_source_list_result)
|
144
|
+
result = @event_sources_client.list(
|
145
|
+
subscription_id: event_source_list_result["subscription_id"]
|
146
|
+
)
|
147
|
+
expect(result.class).to eq(NgrokAPI::Models::EventSourceList)
|
148
|
+
# expect(result.id).to eq(event_source_list_result["id"])
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
121
152
|
describe "#update" do
|
122
153
|
it "will make a patch request and return an instance of NgrokAPI::Models::EventSource" do
|
123
154
|
path = '/event_subscriptions/%{subscription_id}/sources/%{type}'
|
@@ -135,7 +166,6 @@ RSpec.describe NgrokAPI::Services::EventSourcesClient do
|
|
135
166
|
fields: "New fields"
|
136
167
|
)
|
137
168
|
expect(result.class).to eq(NgrokAPI::Models::EventSource)
|
138
|
-
# expect(result.id).to eq(event_source_result["id"])
|
139
169
|
end
|
140
170
|
end
|
141
171
|
|
@@ -35,7 +35,6 @@ RSpec.describe NgrokAPI::Services::EventStreamsClient do
|
|
35
35
|
sampling_rate: "New sampling_rate"
|
36
36
|
)
|
37
37
|
expect(result.class).to eq(NgrokAPI::Models::EventStream)
|
38
|
-
# expect(result.id).to eq(event_stream_result["id"])
|
39
38
|
end
|
40
39
|
end
|
41
40
|
|
@@ -93,7 +92,6 @@ RSpec.describe NgrokAPI::Services::EventStreamsClient do
|
|
93
92
|
id: event_stream_result["id"]
|
94
93
|
)
|
95
94
|
expect(result.class).to eq(NgrokAPI::Models::EventStream)
|
96
|
-
# expect(result.id).to eq(event_stream_result["id"])
|
97
95
|
end
|
98
96
|
end
|
99
97
|
|
@@ -147,7 +145,6 @@ RSpec.describe NgrokAPI::Services::EventStreamsClient do
|
|
147
145
|
sampling_rate: "New sampling_rate"
|
148
146
|
)
|
149
147
|
expect(result.class).to eq(NgrokAPI::Models::EventStream)
|
150
|
-
# expect(result.id).to eq(event_stream_result["id"])
|
151
148
|
end
|
152
149
|
end
|
153
150
|
|
@@ -31,7 +31,6 @@ RSpec.describe NgrokAPI::Services::EventSubscriptionsClient do
|
|
31
31
|
destination_ids: "New destination_ids"
|
32
32
|
)
|
33
33
|
expect(result.class).to eq(NgrokAPI::Models::EventSubscription)
|
34
|
-
# expect(result.id).to eq(event_subscription_result["id"])
|
35
34
|
end
|
36
35
|
end
|
37
36
|
|
@@ -89,7 +88,6 @@ RSpec.describe NgrokAPI::Services::EventSubscriptionsClient do
|
|
89
88
|
id: event_subscription_result["id"]
|
90
89
|
)
|
91
90
|
expect(result.class).to eq(NgrokAPI::Models::EventSubscription)
|
92
|
-
# expect(result.id).to eq(event_subscription_result["id"])
|
93
91
|
end
|
94
92
|
end
|
95
93
|
|
@@ -141,7 +139,6 @@ RSpec.describe NgrokAPI::Services::EventSubscriptionsClient do
|
|
141
139
|
destination_ids: "New destination_ids"
|
142
140
|
)
|
143
141
|
expect(result.class).to eq(NgrokAPI::Models::EventSubscription)
|
144
|
-
# expect(result.id).to eq(event_subscription_result["id"])
|
145
142
|
end
|
146
143
|
end
|
147
144
|
|
@@ -29,7 +29,6 @@ RSpec.describe NgrokAPI::Services::IPPoliciesClient do
|
|
29
29
|
action: "New action"
|
30
30
|
)
|
31
31
|
expect(result.class).to eq(NgrokAPI::Models::IPPolicy)
|
32
|
-
# expect(result.id).to eq(ip_policy_result["id"])
|
33
32
|
end
|
34
33
|
end
|
35
34
|
|
@@ -87,7 +86,6 @@ RSpec.describe NgrokAPI::Services::IPPoliciesClient do
|
|
87
86
|
id: ip_policy_result["id"]
|
88
87
|
)
|
89
88
|
expect(result.class).to eq(NgrokAPI::Models::IPPolicy)
|
90
|
-
# expect(result.id).to eq(ip_policy_result["id"])
|
91
89
|
end
|
92
90
|
end
|
93
91
|
|
@@ -135,7 +133,6 @@ RSpec.describe NgrokAPI::Services::IPPoliciesClient do
|
|
135
133
|
metadata: "New metadata"
|
136
134
|
)
|
137
135
|
expect(result.class).to eq(NgrokAPI::Models::IPPolicy)
|
138
|
-
# expect(result.id).to eq(ip_policy_result["id"])
|
139
136
|
end
|
140
137
|
end
|
141
138
|
|
@@ -31,7 +31,6 @@ RSpec.describe NgrokAPI::Services::IPPolicyRulesClient do
|
|
31
31
|
ip_policy_id: "New ip_policy_id"
|
32
32
|
)
|
33
33
|
expect(result.class).to eq(NgrokAPI::Models::IPPolicyRule)
|
34
|
-
# expect(result.id).to eq(ip_policy_rule_result["id"])
|
35
34
|
end
|
36
35
|
end
|
37
36
|
|
@@ -89,7 +88,6 @@ RSpec.describe NgrokAPI::Services::IPPolicyRulesClient do
|
|
89
88
|
id: ip_policy_rule_result["id"]
|
90
89
|
)
|
91
90
|
expect(result.class).to eq(NgrokAPI::Models::IPPolicyRule)
|
92
|
-
# expect(result.id).to eq(ip_policy_rule_result["id"])
|
93
91
|
end
|
94
92
|
end
|
95
93
|
|
@@ -139,7 +137,6 @@ RSpec.describe NgrokAPI::Services::IPPolicyRulesClient do
|
|
139
137
|
cidr: "New cidr"
|
140
138
|
)
|
141
139
|
expect(result.class).to eq(NgrokAPI::Models::IPPolicyRule)
|
142
|
-
# expect(result.id).to eq(ip_policy_rule_result["id"])
|
143
140
|
end
|
144
141
|
end
|
145
142
|
|
@@ -33,7 +33,6 @@ RSpec.describe NgrokAPI::Services::IPRestrictionsClient do
|
|
33
33
|
ip_policy_ids: "New ip_policy_ids"
|
34
34
|
)
|
35
35
|
expect(result.class).to eq(NgrokAPI::Models::IPRestriction)
|
36
|
-
# expect(result.id).to eq(ip_restriction_result["id"])
|
37
36
|
end
|
38
37
|
end
|
39
38
|
|
@@ -91,7 +90,6 @@ RSpec.describe NgrokAPI::Services::IPRestrictionsClient do
|
|
91
90
|
id: ip_restriction_result["id"]
|
92
91
|
)
|
93
92
|
expect(result.class).to eq(NgrokAPI::Models::IPRestriction)
|
94
|
-
# expect(result.id).to eq(ip_restriction_result["id"])
|
95
93
|
end
|
96
94
|
end
|
97
95
|
|
@@ -143,7 +141,6 @@ RSpec.describe NgrokAPI::Services::IPRestrictionsClient do
|
|
143
141
|
ip_policy_ids: "New ip_policy_ids"
|
144
142
|
)
|
145
143
|
expect(result.class).to eq(NgrokAPI::Models::IPRestriction)
|
146
|
-
# expect(result.id).to eq(ip_restriction_result["id"])
|
147
144
|
end
|
148
145
|
end
|
149
146
|
|
@@ -29,7 +29,6 @@ RSpec.describe NgrokAPI::Services::IPWhitelistClient do
|
|
29
29
|
ip_net: "New ip_net"
|
30
30
|
)
|
31
31
|
expect(result.class).to eq(NgrokAPI::Models::IPWhitelistEntry)
|
32
|
-
# expect(result.id).to eq(ip_whitelist_entry_result["id"])
|
33
32
|
end
|
34
33
|
end
|
35
34
|
|
@@ -87,7 +86,6 @@ RSpec.describe NgrokAPI::Services::IPWhitelistClient do
|
|
87
86
|
id: ip_whitelist_entry_result["id"]
|
88
87
|
)
|
89
88
|
expect(result.class).to eq(NgrokAPI::Models::IPWhitelistEntry)
|
90
|
-
# expect(result.id).to eq(ip_whitelist_entry_result["id"])
|
91
89
|
end
|
92
90
|
end
|
93
91
|
|
@@ -135,7 +133,6 @@ RSpec.describe NgrokAPI::Services::IPWhitelistClient do
|
|
135
133
|
metadata: "New metadata"
|
136
134
|
)
|
137
135
|
expect(result.class).to eq(NgrokAPI::Models::IPWhitelistEntry)
|
138
|
-
# expect(result.id).to eq(ip_whitelist_entry_result["id"])
|
139
136
|
end
|
140
137
|
end
|
141
138
|
|
@@ -31,7 +31,6 @@ RSpec.describe NgrokAPI::Services::ReservedAddrsClient do
|
|
31
31
|
endpoint_configuration_id: "New endpoint_configuration_id"
|
32
32
|
)
|
33
33
|
expect(result.class).to eq(NgrokAPI::Models::ReservedAddr)
|
34
|
-
# expect(result.id).to eq(reserved_addr_result["id"])
|
35
34
|
end
|
36
35
|
end
|
37
36
|
|
@@ -89,7 +88,6 @@ RSpec.describe NgrokAPI::Services::ReservedAddrsClient do
|
|
89
88
|
id: reserved_addr_result["id"]
|
90
89
|
)
|
91
90
|
expect(result.class).to eq(NgrokAPI::Models::ReservedAddr)
|
92
|
-
# expect(result.id).to eq(reserved_addr_result["id"])
|
93
91
|
end
|
94
92
|
end
|
95
93
|
|
@@ -139,7 +137,6 @@ RSpec.describe NgrokAPI::Services::ReservedAddrsClient do
|
|
139
137
|
endpoint_configuration_id: "New endpoint_configuration_id"
|
140
138
|
)
|
141
139
|
expect(result.class).to eq(NgrokAPI::Models::ReservedAddr)
|
142
|
-
# expect(result.id).to eq(reserved_addr_result["id"])
|
143
140
|
end
|
144
141
|
end
|
145
142
|
|
@@ -39,7 +39,6 @@ RSpec.describe NgrokAPI::Services::ReservedDomainsClient do
|
|
39
39
|
certificate_management_policy: "New certificate_management_policy"
|
40
40
|
)
|
41
41
|
expect(result.class).to eq(NgrokAPI::Models::ReservedDomain)
|
42
|
-
# expect(result.id).to eq(reserved_domain_result["id"])
|
43
42
|
end
|
44
43
|
end
|
45
44
|
|
@@ -97,7 +96,6 @@ RSpec.describe NgrokAPI::Services::ReservedDomainsClient do
|
|
97
96
|
id: reserved_domain_result["id"]
|
98
97
|
)
|
99
98
|
expect(result.class).to eq(NgrokAPI::Models::ReservedDomain)
|
100
|
-
# expect(result.id).to eq(reserved_domain_result["id"])
|
101
99
|
end
|
102
100
|
end
|
103
101
|
|
@@ -153,7 +151,6 @@ RSpec.describe NgrokAPI::Services::ReservedDomainsClient do
|
|
153
151
|
certificate_management_policy: "New certificate_management_policy"
|
154
152
|
)
|
155
153
|
expect(result.class).to eq(NgrokAPI::Models::ReservedDomain)
|
156
|
-
# expect(result.id).to eq(reserved_domain_result["id"])
|
157
154
|
end
|
158
155
|
end
|
159
156
|
|
@@ -33,7 +33,6 @@ RSpec.describe NgrokAPI::Services::SSHCertificateAuthoritiesClient do
|
|
33
33
|
key_size: "New key_size"
|
34
34
|
)
|
35
35
|
expect(result.class).to eq(NgrokAPI::Models::SSHCertificateAuthority)
|
36
|
-
# expect(result.id).to eq(ssh_certificate_authority_result["id"])
|
37
36
|
end
|
38
37
|
end
|
39
38
|
|
@@ -91,7 +90,6 @@ RSpec.describe NgrokAPI::Services::SSHCertificateAuthoritiesClient do
|
|
91
90
|
id: ssh_certificate_authority_result["id"]
|
92
91
|
)
|
93
92
|
expect(result.class).to eq(NgrokAPI::Models::SSHCertificateAuthority)
|
94
|
-
# expect(result.id).to eq(ssh_certificate_authority_result["id"])
|
95
93
|
end
|
96
94
|
end
|
97
95
|
|
@@ -139,7 +137,6 @@ RSpec.describe NgrokAPI::Services::SSHCertificateAuthoritiesClient do
|
|
139
137
|
metadata: "New metadata"
|
140
138
|
)
|
141
139
|
expect(result.class).to eq(NgrokAPI::Models::SSHCertificateAuthority)
|
142
|
-
# expect(result.id).to eq(ssh_certificate_authority_result["id"])
|
143
140
|
end
|
144
141
|
end
|
145
142
|
|
@@ -31,7 +31,6 @@ RSpec.describe NgrokAPI::Services::SSHCredentialsClient do
|
|
31
31
|
public_key: "New public_key"
|
32
32
|
)
|
33
33
|
expect(result.class).to eq(NgrokAPI::Models::SSHCredential)
|
34
|
-
# expect(result.id).to eq(ssh_credential_result["id"])
|
35
34
|
end
|
36
35
|
end
|
37
36
|
|
@@ -89,7 +88,6 @@ RSpec.describe NgrokAPI::Services::SSHCredentialsClient do
|
|
89
88
|
id: ssh_credential_result["id"]
|
90
89
|
)
|
91
90
|
expect(result.class).to eq(NgrokAPI::Models::SSHCredential)
|
92
|
-
# expect(result.id).to eq(ssh_credential_result["id"])
|
93
91
|
end
|
94
92
|
end
|
95
93
|
|
@@ -139,7 +137,6 @@ RSpec.describe NgrokAPI::Services::SSHCredentialsClient do
|
|
139
137
|
acl: "New acl"
|
140
138
|
)
|
141
139
|
expect(result.class).to eq(NgrokAPI::Models::SSHCredential)
|
142
|
-
# expect(result.id).to eq(ssh_credential_result["id"])
|
143
140
|
end
|
144
141
|
end
|
145
142
|
|