ngrok-api 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -1
- data/doc/NgrokAPI/Client.html +1 -1
- 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 +146 -3
- data/doc/NgrokAPI/Models/APIKey.html +119 -67
- data/doc/NgrokAPI/Models/AWSAuth.html +82 -30
- data/doc/NgrokAPI/Models/AWSCredentials.html +89 -37
- data/doc/NgrokAPI/Models/AWSRole.html +74 -22
- data/doc/NgrokAPI/Models/AbuseReport.html +108 -56
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +82 -30
- data/doc/NgrokAPI/Models/AgentIngress.html +141 -89
- data/doc/NgrokAPI/Models/CertificateAuthority.html +148 -96
- data/doc/NgrokAPI/Models/Credential.html +120 -68
- data/doc/NgrokAPI/Models/Endpoint.html +138 -86
- data/doc/NgrokAPI/Models/EndpointBackend.html +89 -37
- data/doc/NgrokAPI/Models/EndpointBackendMutate.html +89 -37
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +100 -48
- data/doc/NgrokAPI/Models/EndpointCompression.html +81 -29
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +89 -37
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +89 -37
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +89 -37
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +89 -37
- data/doc/NgrokAPI/Models/EndpointOAuth.html +123 -71
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +106 -54
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +115 -63
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +106 -54
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +106 -54
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +105 -53
- data/doc/NgrokAPI/Models/EndpointOIDC.html +132 -80
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +90 -38
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +90 -38
- data/doc/NgrokAPI/Models/EndpointSAML.html +147 -95
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +132 -80
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +90 -38
- data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +89 -37
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +90 -38
- data/doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +81 -29
- data/doc/NgrokAPI/Models/EventDestination.html +121 -69
- data/doc/NgrokAPI/Models/EventSource.html +91 -39
- data/doc/NgrokAPI/Models/EventSourceList.html +75 -23
- data/doc/NgrokAPI/Models/EventSourceReplace.html +90 -38
- data/doc/NgrokAPI/Models/EventSubscription.html +121 -69
- data/doc/NgrokAPI/Models/EventTarget.html +105 -53
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +89 -37
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +89 -37
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +82 -30
- data/doc/NgrokAPI/Models/FailoverBackend.html +127 -75
- data/doc/NgrokAPI/Models/HTTPResponseBackend.html +135 -83
- data/doc/NgrokAPI/Models/HTTPSEdge.html +136 -84
- data/doc/NgrokAPI/Models/HTTPSEdgeRoute.html +163 -111
- data/doc/NgrokAPI/Models/IPPolicy.html +119 -67
- data/doc/NgrokAPI/Models/IPPolicyRule.html +135 -83
- data/doc/NgrokAPI/Models/IPRestriction.html +129 -77
- data/doc/NgrokAPI/Models/Listable.html +60 -60
- data/doc/NgrokAPI/Models/Ref.html +82 -30
- data/doc/NgrokAPI/Models/ReservedAddr.html +129 -77
- data/doc/NgrokAPI/Models/ReservedDomain.html +150 -98
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +91 -39
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +89 -37
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +89 -37
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +134 -82
- data/doc/NgrokAPI/Models/SSHCredential.html +127 -75
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +147 -95
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +153 -101
- data/doc/NgrokAPI/Models/TCPEdge.html +141 -89
- data/doc/NgrokAPI/Models/TLSCertificate.html +164 -112
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +89 -37
- data/doc/NgrokAPI/Models/TLSEdge.html +145 -93
- data/doc/NgrokAPI/Models/Tunnel.html +136 -84
- data/doc/NgrokAPI/Models/TunnelGroupBackend.html +128 -76
- data/doc/NgrokAPI/Models/TunnelSession.html +125 -73
- data/doc/NgrokAPI/Models/WeightedBackend.html +127 -75
- data/doc/NgrokAPI/Models.html +1 -1
- data/doc/NgrokAPI/PagedIterator.html +2 -2
- data/doc/NgrokAPI/Services/APIKeysClient.html +243 -108
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +161 -24
- data/doc/NgrokAPI/Services/AgentIngressesClient.html +261 -108
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +261 -108
- data/doc/NgrokAPI/Services/CredentialsClient.html +265 -110
- data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +304 -114
- data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +513 -98
- data/doc/NgrokAPI/Services/EdgesTCPClient.html +304 -114
- data/doc/NgrokAPI/Services/EdgesTLSClient.html +338 -118
- data/doc/NgrokAPI/Services/EndpointsClient.html +19 -23
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +287 -112
- data/doc/NgrokAPI/Services/EventSourcesClient.html +226 -87
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +287 -112
- data/doc/NgrokAPI/Services/FailoverBackendsClient.html +267 -112
- data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +307 -114
- data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +243 -108
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +301 -110
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +303 -112
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +263 -108
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +357 -144
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +303 -108
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +283 -110
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +339 -108
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +380 -109
- data/doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TLSCertificatesClient.html +279 -108
- data/doc/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +267 -112
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +43 -47
- data/doc/NgrokAPI/Services/TunnelsClient.html +19 -23
- data/doc/NgrokAPI/Services/WeightedBackendsClient.html +270 -115
- data/doc/NgrokAPI/Services.html +1 -1
- data/doc/NgrokAPI.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +54 -54
- data/doc/index.html +54 -54
- data/doc/method_list.html +1089 -337
- data/doc/top-level-namespace.html +1 -1
- data/docs/NgrokAPI/Client.html +1 -1
- 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 +146 -3
- data/docs/NgrokAPI/Models/APIKey.html +119 -67
- data/docs/NgrokAPI/Models/AWSAuth.html +82 -30
- data/docs/NgrokAPI/Models/AWSCredentials.html +89 -37
- data/docs/NgrokAPI/Models/AWSRole.html +74 -22
- data/docs/NgrokAPI/Models/AbuseReport.html +108 -56
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +82 -30
- data/docs/NgrokAPI/Models/AgentIngress.html +141 -89
- data/docs/NgrokAPI/Models/CertificateAuthority.html +148 -96
- data/docs/NgrokAPI/Models/Credential.html +120 -68
- data/docs/NgrokAPI/Models/Endpoint.html +138 -86
- data/docs/NgrokAPI/Models/EndpointBackend.html +89 -37
- data/docs/NgrokAPI/Models/EndpointBackendMutate.html +89 -37
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +100 -48
- data/docs/NgrokAPI/Models/EndpointCompression.html +81 -29
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +89 -37
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +89 -37
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +89 -37
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +89 -37
- data/docs/NgrokAPI/Models/EndpointOAuth.html +123 -71
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +106 -54
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +115 -63
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +106 -54
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +106 -54
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +105 -53
- data/docs/NgrokAPI/Models/EndpointOIDC.html +132 -80
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +90 -38
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +90 -38
- data/docs/NgrokAPI/Models/EndpointSAML.html +147 -95
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +132 -80
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +90 -38
- data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +89 -37
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +90 -38
- data/docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +81 -29
- data/docs/NgrokAPI/Models/EventDestination.html +121 -69
- data/docs/NgrokAPI/Models/EventSource.html +91 -39
- data/docs/NgrokAPI/Models/EventSourceList.html +75 -23
- data/docs/NgrokAPI/Models/EventSourceReplace.html +90 -38
- data/docs/NgrokAPI/Models/EventSubscription.html +121 -69
- data/docs/NgrokAPI/Models/EventTarget.html +105 -53
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +89 -37
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +89 -37
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +82 -30
- data/docs/NgrokAPI/Models/FailoverBackend.html +127 -75
- data/docs/NgrokAPI/Models/HTTPResponseBackend.html +135 -83
- data/docs/NgrokAPI/Models/HTTPSEdge.html +136 -84
- data/docs/NgrokAPI/Models/HTTPSEdgeRoute.html +163 -111
- data/docs/NgrokAPI/Models/IPPolicy.html +119 -67
- data/docs/NgrokAPI/Models/IPPolicyRule.html +135 -83
- data/docs/NgrokAPI/Models/IPRestriction.html +129 -77
- data/docs/NgrokAPI/Models/Listable.html +60 -60
- data/docs/NgrokAPI/Models/Ref.html +82 -30
- data/docs/NgrokAPI/Models/ReservedAddr.html +129 -77
- data/docs/NgrokAPI/Models/ReservedDomain.html +150 -98
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +91 -39
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +89 -37
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +89 -37
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +134 -82
- data/docs/NgrokAPI/Models/SSHCredential.html +127 -75
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +147 -95
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +153 -101
- data/docs/NgrokAPI/Models/TCPEdge.html +141 -89
- data/docs/NgrokAPI/Models/TLSCertificate.html +164 -112
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +89 -37
- data/docs/NgrokAPI/Models/TLSEdge.html +145 -93
- data/docs/NgrokAPI/Models/Tunnel.html +136 -84
- data/docs/NgrokAPI/Models/TunnelGroupBackend.html +128 -76
- data/docs/NgrokAPI/Models/TunnelSession.html +125 -73
- data/docs/NgrokAPI/Models/WeightedBackend.html +127 -75
- data/docs/NgrokAPI/Models.html +1 -1
- data/docs/NgrokAPI/PagedIterator.html +2 -2
- data/docs/NgrokAPI/Services/APIKeysClient.html +243 -108
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +161 -24
- data/docs/NgrokAPI/Services/AgentIngressesClient.html +261 -108
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +261 -108
- data/docs/NgrokAPI/Services/CredentialsClient.html +265 -110
- data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +304 -114
- data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +513 -98
- data/docs/NgrokAPI/Services/EdgesTCPClient.html +304 -114
- data/docs/NgrokAPI/Services/EdgesTLSClient.html +338 -118
- data/docs/NgrokAPI/Services/EndpointsClient.html +19 -23
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +287 -112
- data/docs/NgrokAPI/Services/EventSourcesClient.html +226 -87
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +287 -112
- data/docs/NgrokAPI/Services/FailoverBackendsClient.html +267 -112
- data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +307 -114
- data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +243 -108
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +301 -110
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +303 -112
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +263 -108
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +357 -144
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +303 -108
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +283 -110
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +339 -108
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +380 -109
- data/docs/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TLSCertificatesClient.html +279 -108
- data/docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +267 -112
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +43 -47
- data/docs/NgrokAPI/Services/TunnelsClient.html +19 -23
- data/docs/NgrokAPI/Services/WeightedBackendsClient.html +270 -115
- data/docs/NgrokAPI/Services.html +1 -1
- data/docs/NgrokAPI.html +1 -1
- data/docs/_index.html +1 -1
- data/docs/file.README.html +54 -54
- data/docs/index.html +54 -54
- data/docs/method_list.html +1089 -337
- data/docs/top-level-namespace.html +1 -1
- data/lib/ngrokapi/http_client.rb +21 -2
- data/lib/ngrokapi/models/abuse_report.rb +16 -12
- data/lib/ngrokapi/models/abuse_report_hostname.rb +11 -7
- data/lib/ngrokapi/models/agent_ingress.rb +17 -13
- data/lib/ngrokapi/models/api_key.rb +15 -11
- data/lib/ngrokapi/models/aws_auth.rb +11 -7
- data/lib/ngrokapi/models/aws_credentials.rb +11 -7
- data/lib/ngrokapi/models/aws_role.rb +10 -6
- data/lib/ngrokapi/models/certificate_authority.rb +20 -16
- data/lib/ngrokapi/models/credential.rb +16 -12
- data/lib/ngrokapi/models/endpoint.rb +22 -18
- data/lib/ngrokapi/models/endpoint_backend.rb +11 -7
- data/lib/ngrokapi/models/endpoint_backend_mutate.rb +11 -7
- data/lib/ngrokapi/models/endpoint_circuit_breaker.rb +15 -11
- data/lib/ngrokapi/models/endpoint_compression.rb +10 -6
- data/lib/ngrokapi/models/endpoint_ip_policy.rb +11 -7
- data/lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +11 -7
- data/lib/ngrokapi/models/endpoint_mutual_tls.rb +11 -7
- data/lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +11 -7
- data/lib/ngrokapi/models/endpoint_o_auth.rb +16 -12
- data/lib/ngrokapi/models/endpoint_o_auth_facebook.rb +14 -10
- data/lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +16 -12
- data/lib/ngrokapi/models/endpoint_o_auth_google.rb +14 -10
- data/lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +14 -10
- data/lib/ngrokapi/models/endpoint_o_auth_provider.rb +13 -9
- data/lib/ngrokapi/models/endpoint_oidc.rb +18 -14
- data/lib/ngrokapi/models/endpoint_request_headers.rb +12 -8
- data/lib/ngrokapi/models/endpoint_response_headers.rb +12 -8
- data/lib/ngrokapi/models/endpoint_saml.rb +25 -21
- data/lib/ngrokapi/models/endpoint_saml_mutate.rb +20 -16
- data/lib/ngrokapi/models/endpoint_tls_termination.rb +12 -8
- data/lib/ngrokapi/models/endpoint_tls_termination_at_edge.rb +11 -7
- data/lib/ngrokapi/models/endpoint_webhook_validation.rb +12 -8
- data/lib/ngrokapi/models/endpoint_websocket_tcp_converter.rb +10 -6
- data/lib/ngrokapi/models/event_destination.rb +16 -12
- data/lib/ngrokapi/models/event_source.rb +13 -9
- data/lib/ngrokapi/models/event_source_list.rb +11 -7
- data/lib/ngrokapi/models/event_source_replace.rb +12 -8
- data/lib/ngrokapi/models/event_subscription.rb +16 -12
- data/lib/ngrokapi/models/event_target.rb +13 -9
- data/lib/ngrokapi/models/event_target_cloudwatch_logs.rb +11 -7
- data/lib/ngrokapi/models/event_target_firehose.rb +11 -7
- data/lib/ngrokapi/models/event_target_kinesis.rb +11 -7
- data/lib/ngrokapi/models/failover_backend.rb +16 -12
- data/lib/ngrokapi/models/http_response_backend.rb +17 -13
- data/lib/ngrokapi/models/https_edge.rb +18 -14
- data/lib/ngrokapi/models/https_edge_route.rb +28 -24
- data/lib/ngrokapi/models/ip_policy.rb +15 -11
- data/lib/ngrokapi/models/ip_policy_rule.rb +17 -13
- data/lib/ngrokapi/models/ip_restriction.rb +17 -13
- data/lib/ngrokapi/models/listable.rb +9 -9
- data/lib/ngrokapi/models/ref.rb +11 -7
- data/lib/ngrokapi/models/reserved_addr.rb +17 -13
- data/lib/ngrokapi/models/reserved_domain.rb +23 -19
- data/lib/ngrokapi/models/reserved_domain_cert_job.rb +13 -9
- data/lib/ngrokapi/models/reserved_domain_cert_policy.rb +11 -7
- data/lib/ngrokapi/models/reserved_domain_cert_status.rb +11 -7
- data/lib/ngrokapi/models/ssh_certificate_authority.rb +16 -12
- data/lib/ngrokapi/models/ssh_credential.rb +16 -12
- data/lib/ngrokapi/models/ssh_host_certificate.rb +21 -17
- data/lib/ngrokapi/models/ssh_user_certificate.rb +23 -19
- data/lib/ngrokapi/models/tcp_edge.rb +17 -13
- data/lib/ngrokapi/models/tls_certificate.rb +30 -26
- data/lib/ngrokapi/models/tls_certificate_sa_ns.rb +11 -7
- data/lib/ngrokapi/models/tls_edge.rb +19 -15
- data/lib/ngrokapi/models/tunnel.rb +20 -16
- data/lib/ngrokapi/models/tunnel_group_backend.rb +17 -13
- data/lib/ngrokapi/models/tunnel_session.rb +19 -15
- data/lib/ngrokapi/models/weighted_backend.rb +16 -12
- data/lib/ngrokapi/paged_iterator.rb +1 -1
- data/lib/ngrokapi/services/abuse_reports_client.rb +25 -3
- data/lib/ngrokapi/services/agent_ingresses_client.rb +32 -11
- data/lib/ngrokapi/services/api_keys_client.rb +30 -11
- data/lib/ngrokapi/services/certificate_authorities_client.rb +31 -11
- data/lib/ngrokapi/services/credentials_client.rb +34 -11
- data/lib/ngrokapi/services/edge_route_backend_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_circuit_breaker_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_compression_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_ip_restriction_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_o_auth_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_oidc_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_request_headers_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_response_headers_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_saml_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_webhook_verification_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_websocket_tcp_converter_module_client.rb +6 -8
- data/lib/ngrokapi/services/edges_https_client.rb +35 -11
- data/lib/ngrokapi/services/edges_https_routes_client.rb +53 -5
- data/lib/ngrokapi/services/edges_tcp_client.rb +35 -11
- data/lib/ngrokapi/services/edges_tls_client.rb +39 -11
- data/lib/ngrokapi/services/endpoints_client.rb +6 -8
- data/lib/ngrokapi/services/event_destinations_client.rb +35 -11
- data/lib/ngrokapi/services/event_sources_client.rb +27 -7
- data/lib/ngrokapi/services/event_subscriptions_client.rb +33 -11
- data/lib/ngrokapi/services/failover_backends_client.rb +33 -13
- data/lib/ngrokapi/services/http_response_backends_client.rb +32 -11
- data/lib/ngrokapi/services/https_edge_mutual_tls_module_client.rb +6 -8
- data/lib/ngrokapi/services/https_edge_tls_termination_module_client.rb +6 -8
- data/lib/ngrokapi/services/ip_policies_client.rb +30 -11
- data/lib/ngrokapi/services/ip_policy_rules_client.rb +35 -11
- data/lib/ngrokapi/services/ip_restrictions_client.rb +35 -11
- data/lib/ngrokapi/services/reserved_addrs_client.rb +31 -11
- data/lib/ngrokapi/services/reserved_domains_client.rb +37 -11
- data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +35 -11
- data/lib/ngrokapi/services/ssh_credentials_client.rb +34 -11
- data/lib/ngrokapi/services/ssh_host_certificates_client.rb +39 -11
- data/lib/ngrokapi/services/ssh_user_certificates_client.rb +44 -12
- data/lib/ngrokapi/services/tcp_edge_backend_module_client.rb +6 -8
- data/lib/ngrokapi/services/tcp_edge_ip_restriction_module_client.rb +6 -8
- data/lib/ngrokapi/services/tls_certificates_client.rb +33 -11
- data/lib/ngrokapi/services/tls_edge_backend_module_client.rb +6 -8
- data/lib/ngrokapi/services/tls_edge_ip_restriction_module_client.rb +6 -8
- data/lib/ngrokapi/services/tls_edge_mutual_tls_module_client.rb +6 -8
- data/lib/ngrokapi/services/tls_edge_tls_termination_module_client.rb +6 -8
- data/lib/ngrokapi/services/tunnel_group_backends_client.rb +33 -13
- data/lib/ngrokapi/services/tunnel_sessions_client.rb +6 -8
- data/lib/ngrokapi/services/tunnels_client.rb +6 -8
- data/lib/ngrokapi/services/weighted_backends_client.rb +36 -16
- data/lib/ngrokapi/version.rb +1 -1
- data/lib/ngrokapi.rb +1 -1
- data/spec/ngrokapi/models/abuse_report_hostname_spec.rb +2 -2
- data/spec/ngrokapi/models/abuse_report_spec.rb +2 -2
- data/spec/ngrokapi/models/agent_ingress_spec.rb +2 -2
- data/spec/ngrokapi/models/api_key_spec.rb +2 -2
- data/spec/ngrokapi/models/aws_auth_spec.rb +2 -2
- data/spec/ngrokapi/models/aws_credentials_spec.rb +2 -2
- data/spec/ngrokapi/models/aws_role_spec.rb +2 -2
- data/spec/ngrokapi/models/certificate_authority_spec.rb +2 -2
- data/spec/ngrokapi/models/credential_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_backend_mutate_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_backend_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_circuit_breaker_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_compression_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_ip_policy_mutate_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_ip_policy_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_mutual_tls_mutate_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_mutual_tls_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_facebook_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_google_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_microsoft_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_provider_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_oidc_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_request_headers_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_response_headers_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_saml_mutate_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_saml_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_tls_termination_at_edge_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_tls_termination_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_webhook_validation_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_websocket_tcp_converter_spec.rb +2 -2
- data/spec/ngrokapi/models/event_destination_spec.rb +2 -2
- data/spec/ngrokapi/models/event_source_list_spec.rb +2 -2
- data/spec/ngrokapi/models/event_source_replace_spec.rb +2 -2
- data/spec/ngrokapi/models/event_source_spec.rb +2 -2
- data/spec/ngrokapi/models/event_subscription_spec.rb +2 -2
- data/spec/ngrokapi/models/event_target_cloudwatch_logs_spec.rb +2 -2
- data/spec/ngrokapi/models/event_target_firehose_spec.rb +2 -2
- data/spec/ngrokapi/models/event_target_kinesis_spec.rb +2 -2
- data/spec/ngrokapi/models/event_target_spec.rb +2 -2
- data/spec/ngrokapi/models/failover_backend_spec.rb +2 -2
- data/spec/ngrokapi/models/http_response_backend_spec.rb +2 -2
- data/spec/ngrokapi/models/https_edge_route_spec.rb +2 -2
- data/spec/ngrokapi/models/https_edge_spec.rb +2 -2
- data/spec/ngrokapi/models/ip_policy_rule_spec.rb +2 -2
- data/spec/ngrokapi/models/ip_policy_spec.rb +2 -2
- data/spec/ngrokapi/models/ip_restriction_spec.rb +2 -2
- data/spec/ngrokapi/models/listable_spec.rb +2 -2
- data/spec/ngrokapi/models/ref_spec.rb +2 -2
- data/spec/ngrokapi/models/reserved_addr_spec.rb +2 -2
- data/spec/ngrokapi/models/reserved_domain_cert_job_spec.rb +2 -2
- data/spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb +2 -2
- data/spec/ngrokapi/models/reserved_domain_cert_status_spec.rb +2 -2
- data/spec/ngrokapi/models/reserved_domain_spec.rb +2 -2
- data/spec/ngrokapi/models/ssh_certificate_authority_spec.rb +2 -2
- data/spec/ngrokapi/models/ssh_credential_spec.rb +2 -2
- data/spec/ngrokapi/models/ssh_host_certificate_spec.rb +2 -2
- data/spec/ngrokapi/models/ssh_user_certificate_spec.rb +2 -2
- data/spec/ngrokapi/models/tcp_edge_spec.rb +2 -2
- data/spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb +2 -2
- data/spec/ngrokapi/models/tls_certificate_spec.rb +2 -2
- data/spec/ngrokapi/models/tls_edge_spec.rb +2 -2
- data/spec/ngrokapi/models/tunnel_group_backend_spec.rb +2 -2
- data/spec/ngrokapi/models/tunnel_session_spec.rb +2 -2
- data/spec/ngrokapi/models/tunnel_spec.rb +2 -2
- data/spec/ngrokapi/models/weighted_backend_spec.rb +2 -2
- data/spec/ngrokapi/paged_iterator_spec.rb +5 -5
- data/spec/ngrokapi/services/abuse_reports_client_spec.rb +19 -0
- data/spec/ngrokapi/services/agent_ingresses_client_spec.rb +21 -0
- data/spec/ngrokapi/services/api_keys_client_spec.rb +19 -0
- data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +21 -0
- data/spec/ngrokapi/services/credentials_client_spec.rb +21 -0
- data/spec/ngrokapi/services/edge_route_backend_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_circuit_breaker_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_compression_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_ip_restriction_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_o_auth_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_oidc_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_request_headers_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_response_headers_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_saml_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_webhook_verification_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_websocket_tcp_converter_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edges_https_client_spec.rb +25 -0
- data/spec/ngrokapi/services/edges_https_routes_client_spec.rb +47 -0
- data/spec/ngrokapi/services/edges_tcp_client_spec.rb +25 -0
- data/spec/ngrokapi/services/edges_tls_client_spec.rb +29 -0
- data/spec/ngrokapi/services/event_destinations_client_spec.rb +24 -0
- data/spec/ngrokapi/services/event_sources_client_spec.rb +21 -0
- data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +23 -0
- data/spec/ngrokapi/services/failover_backends_client_spec.rb +21 -0
- data/spec/ngrokapi/services/http_response_backends_client_spec.rb +25 -0
- data/spec/ngrokapi/services/https_edge_mutual_tls_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/https_edge_tls_termination_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/ip_policies_client_spec.rb +20 -0
- data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +25 -0
- data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +25 -0
- data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +22 -0
- data/spec/ngrokapi/services/reserved_domains_client_spec.rb +29 -0
- data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +25 -0
- data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +23 -0
- data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +29 -0
- data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +33 -0
- data/spec/ngrokapi/services/tcp_edge_backend_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tcp_edge_ip_restriction_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tls_certificates_client_spec.rb +23 -0
- data/spec/ngrokapi/services/tls_edge_backend_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tls_edge_ip_restriction_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tls_edge_mutual_tls_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tls_edge_tls_termination_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tunnel_group_backends_client_spec.rb +21 -0
- data/spec/ngrokapi/services/weighted_backends_client_spec.rb +21 -0
- metadata +1 -3
- data/doc/README +0 -94
- data/docs/README +0 -94
@@ -223,6 +223,30 @@
|
|
223
223
|
<p>Create a TLS Edge.</p>
|
224
224
|
</div></span>
|
225
225
|
|
226
|
+
</li>
|
227
|
+
|
228
|
+
|
229
|
+
<li class="public ">
|
230
|
+
<span class="summary_signature">
|
231
|
+
|
232
|
+
<a href="#create!-instance_method" title="#create! (instance method)">#<strong>create!</strong>(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil, mutual_tls: nil, tls_termination: nil) ⇒ NgrokAPI::Models::TLSEdge </a>
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
</span>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
<span class="summary_desc"><div class='inline'>
|
247
|
+
<p>Create a TLS Edge Throws an exception if API error.</p>
|
248
|
+
</div></span>
|
249
|
+
|
226
250
|
</li>
|
227
251
|
|
228
252
|
|
@@ -739,7 +763,207 @@
|
|
739
763
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:mutual_tls</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_mutual_tls'>mutual_tls</span> <span class='kw'>if</span> <span class='id identifier rubyid_mutual_tls'>mutual_tls</span>
|
740
764
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:tls_termination</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_tls_termination'>tls_termination</span> <span class='kw'>if</span> <span class='id identifier rubyid_tls_termination'>tls_termination</span>
|
741
765
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
742
|
-
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>
|
766
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
767
|
+
<span class='kw'>end</span></pre>
|
768
|
+
</td>
|
769
|
+
</tr>
|
770
|
+
</table>
|
771
|
+
</div>
|
772
|
+
|
773
|
+
<div class="method_details ">
|
774
|
+
<h3 class="signature " id="create!-instance_method">
|
775
|
+
|
776
|
+
#<strong>create!</strong>(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil, mutual_tls: nil, tls_termination: nil) ⇒ <tt><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">NgrokAPI::Models::TLSEdge</a></span></tt>
|
777
|
+
|
778
|
+
|
779
|
+
|
780
|
+
|
781
|
+
|
782
|
+
</h3><div class="docstring">
|
783
|
+
<div class="discussion">
|
784
|
+
|
785
|
+
<p>Create a TLS Edge Throws an exception if API error.</p>
|
786
|
+
|
787
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tls-create">ngrok.com/docs/api#api-edges-tls-create</a></p>
|
788
|
+
|
789
|
+
|
790
|
+
</div>
|
791
|
+
</div>
|
792
|
+
<div class="tags">
|
793
|
+
<p class="tag_title">Parameters:</p>
|
794
|
+
<ul class="param">
|
795
|
+
|
796
|
+
<li>
|
797
|
+
|
798
|
+
<span class='name'>description</span>
|
799
|
+
|
800
|
+
|
801
|
+
<span class='type'>(<tt>string</tt>)</span>
|
802
|
+
|
803
|
+
|
804
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
805
|
+
|
806
|
+
|
807
|
+
—
|
808
|
+
<div class='inline'>
|
809
|
+
<p>human-readable description of what this edge will be used for; optional, max 255 bytes.</p>
|
810
|
+
</div>
|
811
|
+
|
812
|
+
</li>
|
813
|
+
|
814
|
+
<li>
|
815
|
+
|
816
|
+
<span class='name'>metadata</span>
|
817
|
+
|
818
|
+
|
819
|
+
<span class='type'>(<tt>string</tt>)</span>
|
820
|
+
|
821
|
+
|
822
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
823
|
+
|
824
|
+
|
825
|
+
—
|
826
|
+
<div class='inline'>
|
827
|
+
<p>arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.</p>
|
828
|
+
</div>
|
829
|
+
|
830
|
+
</li>
|
831
|
+
|
832
|
+
<li>
|
833
|
+
|
834
|
+
<span class='name'>hostports</span>
|
835
|
+
|
836
|
+
|
837
|
+
<span class='type'>(<tt>List<string></tt>)</span>
|
838
|
+
|
839
|
+
|
840
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
841
|
+
|
842
|
+
|
843
|
+
—
|
844
|
+
<div class='inline'>
|
845
|
+
<p>hostports served by this edge</p>
|
846
|
+
</div>
|
847
|
+
|
848
|
+
</li>
|
849
|
+
|
850
|
+
<li>
|
851
|
+
|
852
|
+
<span class='name'>backend</span>
|
853
|
+
|
854
|
+
|
855
|
+
<span class='type'>(<tt>EndpointBackendMutate</tt>)</span>
|
856
|
+
|
857
|
+
|
858
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
859
|
+
|
860
|
+
|
861
|
+
—
|
862
|
+
<div class='inline'>
|
863
|
+
<p>edge modules</p>
|
864
|
+
</div>
|
865
|
+
|
866
|
+
</li>
|
867
|
+
|
868
|
+
<li>
|
869
|
+
|
870
|
+
<span class='name'>ip_restriction</span>
|
871
|
+
|
872
|
+
|
873
|
+
<span class='type'>(<tt>EndpointIPPolicyMutate</tt>)</span>
|
874
|
+
|
875
|
+
|
876
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
877
|
+
|
878
|
+
|
879
|
+
</li>
|
880
|
+
|
881
|
+
<li>
|
882
|
+
|
883
|
+
<span class='name'>mutual_tls</span>
|
884
|
+
|
885
|
+
|
886
|
+
<span class='type'>(<tt>EndpointMutualTLSMutate</tt>)</span>
|
887
|
+
|
888
|
+
|
889
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
890
|
+
|
891
|
+
|
892
|
+
</li>
|
893
|
+
|
894
|
+
<li>
|
895
|
+
|
896
|
+
<span class='name'>tls_termination</span>
|
897
|
+
|
898
|
+
|
899
|
+
<span class='type'>(<tt>EndpointTLSTermination</tt>)</span>
|
900
|
+
|
901
|
+
|
902
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
903
|
+
|
904
|
+
|
905
|
+
</li>
|
906
|
+
|
907
|
+
</ul>
|
908
|
+
|
909
|
+
<p class="tag_title">Returns:</p>
|
910
|
+
<ul class="return">
|
911
|
+
|
912
|
+
<li>
|
913
|
+
|
914
|
+
|
915
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">NgrokAPI::Models::TLSEdge</a></span></tt>)</span>
|
916
|
+
|
917
|
+
|
918
|
+
|
919
|
+
—
|
920
|
+
<div class='inline'>
|
921
|
+
<p>result from the API request</p>
|
922
|
+
</div>
|
923
|
+
|
924
|
+
</li>
|
925
|
+
|
926
|
+
</ul>
|
927
|
+
|
928
|
+
</div><table class="source_code">
|
929
|
+
<tr>
|
930
|
+
<td>
|
931
|
+
<pre class="lines">
|
932
|
+
|
933
|
+
|
934
|
+
62
|
935
|
+
63
|
936
|
+
64
|
937
|
+
65
|
938
|
+
66
|
939
|
+
67
|
940
|
+
68
|
941
|
+
69
|
942
|
+
70
|
943
|
+
71
|
944
|
+
72
|
945
|
+
73
|
946
|
+
74
|
947
|
+
75
|
948
|
+
76</pre>
|
949
|
+
</td>
|
950
|
+
<td>
|
951
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line 62</span>
|
952
|
+
|
953
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create!'>create!</span><span class='lparen'>(</span><span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>hostports:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>backend:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>ip_restriction:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>mutual_tls:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>tls_termination:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
954
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/edges/tls</span><span class='tstring_end'>'</span></span>
|
955
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
956
|
+
<span class='rbrace'>}</span>
|
957
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
958
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
|
959
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
|
960
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:hostports</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_hostports'>hostports</span> <span class='kw'>if</span> <span class='id identifier rubyid_hostports'>hostports</span>
|
961
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:backend</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_backend'>backend</span> <span class='kw'>if</span> <span class='id identifier rubyid_backend'>backend</span>
|
962
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:ip_restriction</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_ip_restriction'>ip_restriction</span> <span class='kw'>if</span> <span class='id identifier rubyid_ip_restriction'>ip_restriction</span>
|
963
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:mutual_tls</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_mutual_tls'>mutual_tls</span> <span class='kw'>if</span> <span class='id identifier rubyid_mutual_tls'>mutual_tls</span>
|
964
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:tls_termination</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_tls_termination'>tls_termination</span> <span class='kw'>if</span> <span class='id identifier rubyid_tls_termination'>tls_termination</span>
|
965
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
966
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
743
967
|
<span class='kw'>end</span></pre>
|
744
968
|
</td>
|
745
969
|
</tr>
|
@@ -814,16 +1038,16 @@
|
|
814
1038
|
<pre class="lines">
|
815
1039
|
|
816
1040
|
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
1041
|
+
242
|
1042
|
+
243
|
1043
|
+
244
|
1044
|
+
245
|
1045
|
+
246
|
1046
|
+
247
|
1047
|
+
248</pre>
|
824
1048
|
</td>
|
825
1049
|
<td>
|
826
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line
|
1050
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line 242</span>
|
827
1051
|
|
828
1052
|
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
829
1053
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/edges/tls/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -905,16 +1129,16 @@
|
|
905
1129
|
<pre class="lines">
|
906
1130
|
|
907
1131
|
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
1132
|
+
258
|
1133
|
+
259
|
1134
|
+
260
|
1135
|
+
261
|
1136
|
+
262
|
1137
|
+
263
|
1138
|
+
264</pre>
|
915
1139
|
</td>
|
916
1140
|
<td>
|
917
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line
|
1141
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line 258</span>
|
918
1142
|
|
919
1143
|
<span class='kw'>def</span> <span class='id identifier rubyid_delete!'>delete!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
920
1144
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/edges/tls/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -996,18 +1220,18 @@
|
|
996
1220
|
<pre class="lines">
|
997
1221
|
|
998
1222
|
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1223
|
+
85
|
1224
|
+
86
|
1225
|
+
87
|
1226
|
+
88
|
1227
|
+
89
|
1228
|
+
90
|
1229
|
+
91
|
1230
|
+
92
|
1231
|
+
93</pre>
|
1008
1232
|
</td>
|
1009
1233
|
<td>
|
1010
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line
|
1234
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line 85</span>
|
1011
1235
|
|
1012
1236
|
<span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1013
1237
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/edges/tls/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -1016,7 +1240,7 @@
|
|
1016
1240
|
<span class='rbrace'>}</span>
|
1017
1241
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1018
1242
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
1019
|
-
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>
|
1243
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
1020
1244
|
<span class='kw'>end</span></pre>
|
1021
1245
|
</td>
|
1022
1246
|
</tr>
|
@@ -1091,18 +1315,18 @@
|
|
1091
1315
|
<pre class="lines">
|
1092
1316
|
|
1093
1317
|
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1318
|
+
103
|
1319
|
+
104
|
1320
|
+
105
|
1321
|
+
106
|
1322
|
+
107
|
1323
|
+
108
|
1324
|
+
109
|
1325
|
+
110
|
1326
|
+
111</pre>
|
1103
1327
|
</td>
|
1104
1328
|
<td>
|
1105
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line
|
1329
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line 103</span>
|
1106
1330
|
|
1107
1331
|
<span class='kw'>def</span> <span class='id identifier rubyid_get!'>get!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1108
1332
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/edges/tls/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -1111,7 +1335,7 @@
|
|
1111
1335
|
<span class='rbrace'>}</span>
|
1112
1336
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1113
1337
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1114
|
-
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>
|
1338
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
1115
1339
|
<span class='kw'>end</span></pre>
|
1116
1340
|
</td>
|
1117
1341
|
</tr>
|
@@ -1212,28 +1436,26 @@
|
|
1212
1436
|
<pre class="lines">
|
1213
1437
|
|
1214
1438
|
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
107</pre>
|
1439
|
+
122
|
1440
|
+
123
|
1441
|
+
124
|
1442
|
+
125
|
1443
|
+
126
|
1444
|
+
127
|
1445
|
+
128
|
1446
|
+
129
|
1447
|
+
130
|
1448
|
+
131
|
1449
|
+
132
|
1450
|
+
133
|
1451
|
+
134
|
1452
|
+
135
|
1453
|
+
136</pre>
|
1231
1454
|
</td>
|
1232
1455
|
<td>
|
1233
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line
|
1456
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line 122</span>
|
1234
1457
|
|
1235
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
1236
|
-
<span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1458
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1237
1459
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
|
1238
1460
|
<span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
|
1239
1461
|
<span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
|
@@ -1243,7 +1465,7 @@
|
|
1243
1465
|
|
1244
1466
|
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">Listable</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/Listable.html#initialize-instance_method" title="NgrokAPI::Models::Listable#initialize (method)">new</a></span></span><span class='lparen'>(</span>
|
1245
1467
|
<span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
|
1246
|
-
<span class='label'>
|
1468
|
+
<span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
|
1247
1469
|
<span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::EdgesTLSClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
|
1248
1470
|
<span class='label'>klass:</span> <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span>
|
1249
1471
|
<span class='rparen'>)</span>
|
@@ -1347,30 +1569,28 @@
|
|
1347
1569
|
<pre class="lines">
|
1348
1570
|
|
1349
1571
|
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
136</pre>
|
1572
|
+
148
|
1573
|
+
149
|
1574
|
+
150
|
1575
|
+
151
|
1576
|
+
152
|
1577
|
+
153
|
1578
|
+
154
|
1579
|
+
155
|
1580
|
+
156
|
1581
|
+
157
|
1582
|
+
158
|
1583
|
+
159
|
1584
|
+
160
|
1585
|
+
161
|
1586
|
+
162
|
1587
|
+
163
|
1588
|
+
164</pre>
|
1368
1589
|
</td>
|
1369
1590
|
<td>
|
1370
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line
|
1591
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line 148</span>
|
1371
1592
|
|
1372
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_list!'>list!</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
1373
|
-
<span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1593
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_list!'>list!</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1374
1594
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
|
1375
1595
|
<span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
|
1376
1596
|
<span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
|
@@ -1381,7 +1601,7 @@
|
|
1381
1601
|
|
1382
1602
|
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">Listable</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/Listable.html#initialize-instance_method" title="NgrokAPI::Models::Listable#initialize (method)">new</a></span></span><span class='lparen'>(</span>
|
1383
1603
|
<span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
|
1384
|
-
<span class='label'>
|
1604
|
+
<span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
|
1385
1605
|
<span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::EdgesTLSClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
|
1386
1606
|
<span class='label'>klass:</span> <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='comma'>,</span>
|
1387
1607
|
<span class='label'>danger:</span> <span class='kw'>true</span>
|
@@ -1571,25 +1791,25 @@
|
|
1571
1791
|
<pre class="lines">
|
1572
1792
|
|
1573
1793
|
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1794
|
+
183
|
1795
|
+
184
|
1796
|
+
185
|
1797
|
+
186
|
1798
|
+
187
|
1799
|
+
188
|
1800
|
+
189
|
1801
|
+
190
|
1802
|
+
191
|
1803
|
+
192
|
1804
|
+
193
|
1805
|
+
194
|
1806
|
+
195
|
1807
|
+
196
|
1808
|
+
197
|
1809
|
+
198</pre>
|
1590
1810
|
</td>
|
1591
1811
|
<td>
|
1592
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line
|
1812
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line 183</span>
|
1593
1813
|
|
1594
1814
|
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>hostports:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>backend:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>ip_restriction:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>mutual_tls:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>tls_termination:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1595
1815
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/edges/tls/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -1605,7 +1825,7 @@
|
|
1605
1825
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:mutual_tls</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_mutual_tls'>mutual_tls</span> <span class='kw'>if</span> <span class='id identifier rubyid_mutual_tls'>mutual_tls</span>
|
1606
1826
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:tls_termination</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_tls_termination'>tls_termination</span> <span class='kw'>if</span> <span class='id identifier rubyid_tls_termination'>tls_termination</span>
|
1607
1827
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
|
1608
|
-
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>
|
1828
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
1609
1829
|
<span class='kw'>end</span></pre>
|
1610
1830
|
</td>
|
1611
1831
|
</tr>
|
@@ -1791,25 +2011,25 @@
|
|
1791
2011
|
<pre class="lines">
|
1792
2012
|
|
1793
2013
|
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
|
2014
|
+
218
|
2015
|
+
219
|
2016
|
+
220
|
2017
|
+
221
|
2018
|
+
222
|
2019
|
+
223
|
2020
|
+
224
|
2021
|
+
225
|
2022
|
+
226
|
2023
|
+
227
|
2024
|
+
228
|
2025
|
+
229
|
2026
|
+
230
|
2027
|
+
231
|
2028
|
+
232
|
2029
|
+
233</pre>
|
1810
2030
|
</td>
|
1811
2031
|
<td>
|
1812
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line
|
2032
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tls_client.rb', line 218</span>
|
1813
2033
|
|
1814
2034
|
<span class='kw'>def</span> <span class='id identifier rubyid_update!'>update!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>hostports:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>backend:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>ip_restriction:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>mutual_tls:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>tls_termination:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1815
2035
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/edges/tls/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -1825,7 +2045,7 @@
|
|
1825
2045
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:mutual_tls</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_mutual_tls'>mutual_tls</span> <span class='kw'>if</span> <span class='id identifier rubyid_mutual_tls'>mutual_tls</span>
|
1826
2046
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:tls_termination</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_tls_termination'>tls_termination</span> <span class='kw'>if</span> <span class='id identifier rubyid_tls_termination'>tls_termination</span>
|
1827
2047
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1828
|
-
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>
|
2048
|
+
<span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/TLSEdge.html" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TLSEdge.html#initialize-instance_method" title="NgrokAPI::Models::TLSEdge#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
1829
2049
|
<span class='kw'>end</span></pre>
|
1830
2050
|
</td>
|
1831
2051
|
</tr>
|
@@ -1837,7 +2057,7 @@
|
|
1837
2057
|
</div>
|
1838
2058
|
|
1839
2059
|
<div id="footer">
|
1840
|
-
Generated on
|
2060
|
+
Generated on Mon Apr 11 19:32:59 2022 by
|
1841
2061
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1842
2062
|
0.9.27 (ruby-2.7.5).
|
1843
2063
|
</div>
|