ngrok-api 0.16.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 +270 -180
- data/doc/NgrokAPI/Error.html +2 -2
- data/doc/NgrokAPI/Errors/NotFoundError.html +2 -2
- data/doc/NgrokAPI/Errors.html +2 -2
- data/doc/NgrokAPI/HttpClient.html +147 -4
- data/doc/NgrokAPI/Models/APIKey.html +120 -68
- data/doc/NgrokAPI/Models/AWSAuth.html +83 -31
- data/doc/NgrokAPI/Models/AWSCredentials.html +90 -38
- data/doc/NgrokAPI/Models/AWSRole.html +75 -23
- data/doc/NgrokAPI/Models/AbuseReport.html +109 -57
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +83 -31
- data/doc/NgrokAPI/Models/AgentIngress.html +142 -90
- data/doc/NgrokAPI/Models/CertificateAuthority.html +149 -97
- data/doc/NgrokAPI/Models/Credential.html +121 -69
- data/doc/NgrokAPI/Models/Endpoint.html +1483 -0
- data/doc/NgrokAPI/Models/{EndpointLoggingMutate.html → EndpointBackend.html} +105 -53
- data/doc/NgrokAPI/Models/EndpointBackendMutate.html +669 -0
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +101 -49
- data/doc/NgrokAPI/Models/EndpointCompression.html +82 -30
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +90 -38
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +90 -38
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +90 -38
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +90 -38
- data/doc/NgrokAPI/Models/EndpointOAuth.html +124 -72
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +107 -55
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +116 -64
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +107 -55
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +107 -55
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +106 -54
- data/doc/NgrokAPI/Models/EndpointOIDC.html +133 -81
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +91 -39
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +91 -39
- data/doc/NgrokAPI/Models/EndpointSAML.html +148 -96
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +133 -81
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +91 -39
- data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +669 -0
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +91 -39
- data/{docs/NgrokAPI/Models/EndpointLogging.html → doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html} +95 -117
- data/doc/NgrokAPI/Models/EventDestination.html +122 -70
- data/doc/NgrokAPI/Models/EventSource.html +92 -40
- data/doc/NgrokAPI/Models/EventSourceList.html +76 -24
- data/doc/NgrokAPI/Models/EventSourceReplace.html +91 -39
- data/doc/NgrokAPI/Models/EventSubscription.html +122 -70
- data/doc/NgrokAPI/Models/EventTarget.html +106 -54
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +90 -38
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +90 -38
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +83 -31
- data/doc/NgrokAPI/Models/FailoverBackend.html +1127 -0
- data/{docs/NgrokAPI/Models/EventStream.html → doc/NgrokAPI/Models/HTTPResponseBackend.html} +170 -196
- data/doc/NgrokAPI/Models/HTTPSEdge.html +1361 -0
- data/doc/NgrokAPI/Models/{EndpointConfiguration.html → HTTPSEdgeRoute.html} +278 -288
- data/doc/NgrokAPI/Models/IPPolicy.html +120 -68
- data/doc/NgrokAPI/Models/IPPolicyRule.html +222 -96
- data/doc/NgrokAPI/Models/IPRestriction.html +130 -78
- data/doc/NgrokAPI/Models/Listable.html +61 -61
- data/doc/NgrokAPI/Models/Ref.html +83 -31
- data/doc/NgrokAPI/Models/ReservedAddr.html +130 -78
- data/doc/NgrokAPI/Models/ReservedDomain.html +151 -99
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +92 -40
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +90 -38
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +90 -38
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +135 -83
- data/doc/NgrokAPI/Models/SSHCredential.html +128 -76
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +148 -96
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +154 -102
- data/doc/NgrokAPI/Models/TCPEdge.html +1287 -0
- data/doc/NgrokAPI/Models/TLSCertificate.html +165 -113
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +90 -38
- data/doc/NgrokAPI/Models/TLSEdge.html +1447 -0
- data/doc/NgrokAPI/Models/Tunnel.html +413 -65
- data/doc/NgrokAPI/Models/TunnelGroupBackend.html +1201 -0
- data/doc/NgrokAPI/Models/TunnelSession.html +126 -74
- data/doc/NgrokAPI/Models/WeightedBackend.html +1127 -0
- data/doc/NgrokAPI/Models.html +4 -4
- data/doc/NgrokAPI/PagedIterator.html +3 -3
- data/doc/NgrokAPI/Services/APIKeysClient.html +244 -109
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +162 -25
- data/doc/NgrokAPI/Services/AgentIngressesClient.html +262 -109
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +262 -109
- data/doc/NgrokAPI/Services/CredentialsClient.html +266 -111
- data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +1149 -0
- data/doc/NgrokAPI/Services/{EndpointCircuitBreakerModuleClient.html → EdgeRouteCircuitBreakerModuleClient.html} +205 -99
- data/{docs/NgrokAPI/Services/EndpointCompressionModuleClient.html → doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html} +205 -99
- data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +1149 -0
- data/doc/NgrokAPI/Services/{EndpointOAuthModuleClient.html → EdgeRouteOAuthModuleClient.html} +205 -99
- data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +1149 -0
- data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +1149 -0
- data/doc/NgrokAPI/Services/{EndpointResponseHeadersModuleClient.html → EdgeRouteResponseHeadersModuleClient.html} +205 -99
- data/{docs/NgrokAPI/Services/EndpointSAMLModuleClient.html → doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html} +205 -99
- data/{docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html → doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html} +205 -99
- data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +1149 -0
- data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +1947 -0
- data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +2585 -0
- data/doc/NgrokAPI/Services/EdgesTCPClient.html +1947 -0
- data/{docs/NgrokAPI/Services/EndpointConfigurationsClient.html → doc/NgrokAPI/Services/EdgesTLSClient.html} +374 -641
- data/doc/NgrokAPI/Services/EndpointsClient.html +903 -0
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +290 -115
- data/doc/NgrokAPI/Services/EventSourcesClient.html +227 -88
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +291 -116
- data/doc/NgrokAPI/Services/{EventStreamsClient.html → FailoverBackendsClient.html} +342 -335
- data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +1937 -0
- data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +1039 -0
- data/{docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html → doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html} +76 -80
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +245 -128
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +328 -117
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +305 -114
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +160 -295
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +257 -624
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +304 -109
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +284 -111
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +340 -109
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +381 -110
- data/{docs/NgrokAPI/Services/EndpointLoggingModuleClient.html → doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html} +76 -80
- data/doc/NgrokAPI/Services/{EndpointIPPolicyModuleClient.html → TCPEdgeIPRestrictionModuleClient.html} +62 -66
- data/doc/NgrokAPI/Services/TLSCertificatesClient.html +280 -109
- data/doc/NgrokAPI/Services/{EndpointLoggingModuleClient.html → TLSEdgeBackendModuleClient.html} +76 -80
- data/{docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html → doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html} +62 -66
- data/doc/NgrokAPI/Services/{EndpointMutualTLSModuleClient.html → TLSEdgeMutualTLSModuleClient.html} +62 -66
- data/doc/NgrokAPI/Services/{EndpointTLSTerminationModuleClient.html → TLSEdgeTLSTerminationModuleClient.html} +62 -66
- data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +1799 -0
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +44 -48
- data/doc/NgrokAPI/Services/TunnelsClient.html +249 -15
- data/doc/NgrokAPI/Services/WeightedBackendsClient.html +1799 -0
- data/doc/NgrokAPI/Services.html +4 -4
- data/doc/NgrokAPI.html +3 -3
- data/doc/_index.html +237 -60
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +55 -55
- data/doc/index.html +55 -55
- data/doc/method_list.html +4555 -1843
- data/doc/top-level-namespace.html +2 -2
- data/docs/NgrokAPI/Client.html +270 -180
- data/docs/NgrokAPI/Error.html +2 -2
- data/docs/NgrokAPI/Errors/NotFoundError.html +2 -2
- data/docs/NgrokAPI/Errors.html +2 -2
- data/docs/NgrokAPI/HttpClient.html +147 -4
- data/docs/NgrokAPI/Models/APIKey.html +120 -68
- data/docs/NgrokAPI/Models/AWSAuth.html +83 -31
- data/docs/NgrokAPI/Models/AWSCredentials.html +90 -38
- data/docs/NgrokAPI/Models/AWSRole.html +75 -23
- data/docs/NgrokAPI/Models/AbuseReport.html +109 -57
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +83 -31
- data/docs/NgrokAPI/Models/AgentIngress.html +142 -90
- data/docs/NgrokAPI/Models/CertificateAuthority.html +149 -97
- data/docs/NgrokAPI/Models/Credential.html +121 -69
- data/docs/NgrokAPI/Models/Endpoint.html +1483 -0
- data/docs/NgrokAPI/Models/{EndpointLoggingMutate.html → EndpointBackend.html} +105 -53
- data/docs/NgrokAPI/Models/EndpointBackendMutate.html +669 -0
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +101 -49
- data/docs/NgrokAPI/Models/EndpointCompression.html +82 -30
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +90 -38
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +90 -38
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +90 -38
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +90 -38
- data/docs/NgrokAPI/Models/EndpointOAuth.html +124 -72
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +107 -55
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +116 -64
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +107 -55
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +107 -55
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +106 -54
- data/docs/NgrokAPI/Models/EndpointOIDC.html +133 -81
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +91 -39
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +91 -39
- data/docs/NgrokAPI/Models/EndpointSAML.html +148 -96
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +133 -81
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +91 -39
- data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +669 -0
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +91 -39
- data/{doc/NgrokAPI/Models/EndpointLogging.html → docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html} +95 -117
- data/docs/NgrokAPI/Models/EventDestination.html +122 -70
- data/docs/NgrokAPI/Models/EventSource.html +92 -40
- data/docs/NgrokAPI/Models/EventSourceList.html +76 -24
- data/docs/NgrokAPI/Models/EventSourceReplace.html +91 -39
- data/docs/NgrokAPI/Models/EventSubscription.html +122 -70
- data/docs/NgrokAPI/Models/EventTarget.html +106 -54
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +90 -38
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +90 -38
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +83 -31
- data/docs/NgrokAPI/Models/FailoverBackend.html +1127 -0
- data/{doc/NgrokAPI/Models/EventStream.html → docs/NgrokAPI/Models/HTTPResponseBackend.html} +170 -196
- data/docs/NgrokAPI/Models/HTTPSEdge.html +1361 -0
- data/docs/NgrokAPI/Models/{EndpointConfiguration.html → HTTPSEdgeRoute.html} +278 -288
- data/docs/NgrokAPI/Models/IPPolicy.html +120 -68
- data/docs/NgrokAPI/Models/IPPolicyRule.html +222 -96
- data/docs/NgrokAPI/Models/IPRestriction.html +130 -78
- data/docs/NgrokAPI/Models/Listable.html +61 -61
- data/docs/NgrokAPI/Models/Ref.html +83 -31
- data/docs/NgrokAPI/Models/ReservedAddr.html +130 -78
- data/docs/NgrokAPI/Models/ReservedDomain.html +151 -99
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +92 -40
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +90 -38
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +90 -38
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +135 -83
- data/docs/NgrokAPI/Models/SSHCredential.html +128 -76
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +148 -96
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +154 -102
- data/docs/NgrokAPI/Models/TCPEdge.html +1287 -0
- data/docs/NgrokAPI/Models/TLSCertificate.html +165 -113
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +90 -38
- data/docs/NgrokAPI/Models/TLSEdge.html +1447 -0
- data/docs/NgrokAPI/Models/Tunnel.html +413 -65
- data/docs/NgrokAPI/Models/TunnelGroupBackend.html +1201 -0
- data/docs/NgrokAPI/Models/TunnelSession.html +126 -74
- data/docs/NgrokAPI/Models/WeightedBackend.html +1127 -0
- data/docs/NgrokAPI/Models.html +4 -4
- data/docs/NgrokAPI/PagedIterator.html +3 -3
- data/docs/NgrokAPI/Services/APIKeysClient.html +244 -109
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +162 -25
- data/docs/NgrokAPI/Services/AgentIngressesClient.html +262 -109
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +262 -109
- data/docs/NgrokAPI/Services/CredentialsClient.html +266 -111
- data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +1149 -0
- data/docs/NgrokAPI/Services/{EndpointCircuitBreakerModuleClient.html → EdgeRouteCircuitBreakerModuleClient.html} +205 -99
- data/{doc/NgrokAPI/Services/EndpointCompressionModuleClient.html → docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html} +205 -99
- data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +1149 -0
- data/docs/NgrokAPI/Services/{EndpointOAuthModuleClient.html → EdgeRouteOAuthModuleClient.html} +205 -99
- data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +1149 -0
- data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +1149 -0
- data/docs/NgrokAPI/Services/{EndpointResponseHeadersModuleClient.html → EdgeRouteResponseHeadersModuleClient.html} +205 -99
- data/{doc/NgrokAPI/Services/EndpointSAMLModuleClient.html → docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html} +205 -99
- data/{doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html → docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html} +205 -99
- data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +1149 -0
- data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +1947 -0
- data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +2585 -0
- data/docs/NgrokAPI/Services/EdgesTCPClient.html +1947 -0
- data/{doc/NgrokAPI/Services/EndpointConfigurationsClient.html → docs/NgrokAPI/Services/EdgesTLSClient.html} +374 -641
- data/docs/NgrokAPI/Services/EndpointsClient.html +903 -0
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +290 -115
- data/docs/NgrokAPI/Services/EventSourcesClient.html +227 -88
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +291 -116
- data/docs/NgrokAPI/Services/{EventStreamsClient.html → FailoverBackendsClient.html} +342 -335
- data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +1937 -0
- data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +1039 -0
- data/{doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html → docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html} +76 -80
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +245 -128
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +328 -117
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +305 -114
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +160 -295
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +257 -624
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +304 -109
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +284 -111
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +340 -109
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +381 -110
- data/docs/NgrokAPI/Services/{EndpointOIDCModuleClient.html → TCPEdgeBackendModuleClient.html} +76 -80
- data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +1039 -0
- data/docs/NgrokAPI/Services/TLSCertificatesClient.html +280 -109
- data/{doc/NgrokAPI/Services/EndpointOIDCModuleClient.html → docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html} +76 -80
- data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +1039 -0
- data/docs/NgrokAPI/Services/{EndpointMutualTLSModuleClient.html → TLSEdgeMutualTLSModuleClient.html} +62 -66
- data/docs/NgrokAPI/Services/{EndpointTLSTerminationModuleClient.html → TLSEdgeTLSTerminationModuleClient.html} +62 -66
- data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +1799 -0
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +44 -48
- data/docs/NgrokAPI/Services/TunnelsClient.html +249 -15
- data/docs/NgrokAPI/Services/WeightedBackendsClient.html +1799 -0
- data/docs/NgrokAPI/Services.html +4 -4
- data/docs/NgrokAPI.html +3 -3
- data/docs/_index.html +237 -60
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +55 -55
- data/docs/index.html +55 -55
- data/docs/method_list.html +4555 -1843
- data/docs/top-level-namespace.html +2 -2
- data/lib/ngrokapi/client.rb +47 -24
- 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 +53 -0
- data/lib/ngrokapi/models/endpoint_backend.rb +31 -0
- data/lib/ngrokapi/models/endpoint_backend_mutate.rb +31 -0
- 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 +31 -0
- data/lib/ngrokapi/models/endpoint_webhook_validation.rb +12 -8
- data/lib/ngrokapi/models/endpoint_websocket_tcp_converter.rb +29 -0
- data/lib/ngrokapi/models/event_destination.rb +17 -14
- 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 +69 -0
- data/lib/ngrokapi/models/http_response_backend.rb +75 -0
- data/lib/ngrokapi/models/https_edge.rb +84 -0
- data/lib/ngrokapi/models/https_edge_route.rb +137 -0
- data/lib/ngrokapi/models/ip_policy.rb +15 -11
- data/lib/ngrokapi/models/ip_policy_rule.rb +19 -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 +82 -0
- 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 +92 -0
- data/lib/ngrokapi/models/tunnel.rb +25 -13
- data/lib/ngrokapi/models/tunnel_group_backend.rb +71 -0
- data/lib/ngrokapi/models/tunnel_session.rb +19 -15
- data/lib/ngrokapi/models/weighted_backend.rb +69 -0
- 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 +118 -0
- data/lib/ngrokapi/services/edge_route_circuit_breaker_module_client.rb +118 -0
- data/lib/ngrokapi/services/edge_route_compression_module_client.rb +118 -0
- data/lib/ngrokapi/services/edge_route_ip_restriction_module_client.rb +118 -0
- data/lib/ngrokapi/services/edge_route_o_auth_module_client.rb +118 -0
- data/lib/ngrokapi/services/edge_route_oidc_module_client.rb +118 -0
- data/lib/ngrokapi/services/edge_route_request_headers_module_client.rb +118 -0
- data/lib/ngrokapi/services/edge_route_response_headers_module_client.rb +118 -0
- data/lib/ngrokapi/services/edge_route_saml_module_client.rb +118 -0
- data/lib/ngrokapi/services/edge_route_webhook_verification_module_client.rb +118 -0
- data/lib/ngrokapi/services/edge_route_websocket_tcp_converter_module_client.rb +118 -0
- data/lib/ngrokapi/services/edges_https_client.rb +251 -0
- data/lib/ngrokapi/services/edges_https_routes_client.rb +292 -0
- data/lib/ngrokapi/services/edges_tcp_client.rb +251 -0
- data/lib/ngrokapi/services/edges_tls_client.rb +267 -0
- data/lib/ngrokapi/services/endpoints_client.rb +112 -0
- data/lib/ngrokapi/services/event_destinations_client.rb +37 -15
- data/lib/ngrokapi/services/event_sources_client.rb +27 -7
- data/lib/ngrokapi/services/event_subscriptions_client.rb +36 -14
- data/lib/ngrokapi/services/failover_backends_client.rb +234 -0
- data/lib/ngrokapi/services/http_response_backends_client.rb +220 -0
- data/lib/ngrokapi/services/{endpoint_oidc_module_client.rb → https_edge_mutual_tls_module_client.rb} +27 -29
- data/lib/ngrokapi/services/https_edge_tls_termination_module_client.rb +106 -0
- data/lib/ngrokapi/services/ip_policies_client.rb +31 -14
- data/lib/ngrokapi/services/ip_policy_rules_client.rb +38 -12
- data/lib/ngrokapi/services/ip_restrictions_client.rb +36 -12
- data/lib/ngrokapi/services/reserved_addrs_client.rb +31 -48
- data/lib/ngrokapi/services/reserved_domains_client.rb +37 -85
- 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/{endpoint_logging_module_client.rb → tcp_edge_backend_module_client.rb} +27 -29
- data/lib/ngrokapi/services/{endpoint_ip_policy_module_client.rb → tcp_edge_ip_restriction_module_client.rb} +21 -23
- data/lib/ngrokapi/services/tls_certificates_client.rb +33 -11
- data/lib/ngrokapi/services/{endpoint_saml_module_client.rb → tls_edge_backend_module_client.rb} +27 -29
- data/lib/ngrokapi/services/tls_edge_ip_restriction_module_client.rb +106 -0
- data/lib/ngrokapi/services/{endpoint_mutual_tls_module_client.rb → tls_edge_mutual_tls_module_client.rb} +21 -23
- data/lib/ngrokapi/services/{endpoint_tls_termination_module_client.rb → tls_edge_tls_termination_module_client.rb} +21 -23
- data/lib/ngrokapi/services/tunnel_group_backends_client.rb +232 -0
- data/lib/ngrokapi/services/tunnel_sessions_client.rb +6 -8
- data/lib/ngrokapi/services/tunnels_client.rb +39 -6
- data/lib/ngrokapi/services/weighted_backends_client.rb +234 -0
- data/lib/ngrokapi/version.rb +1 -1
- data/lib/ngrokapi.rb +1 -1
- data/spec/ngrokapi/client_spec.rb +44 -23
- 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 +21 -0
- data/spec/ngrokapi/models/endpoint_backend_spec.rb +21 -0
- 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 +21 -0
- data/spec/ngrokapi/models/endpoint_tls_termination_at_edge_spec.rb +21 -0
- 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 +21 -0
- 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 +45 -0
- data/spec/ngrokapi/models/http_response_backend_spec.rb +51 -0
- data/spec/ngrokapi/models/https_edge_route_spec.rb +81 -0
- data/spec/ngrokapi/models/https_edge_spec.rb +51 -0
- 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 +51 -0
- 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 +57 -0
- data/spec/ngrokapi/models/tunnel_group_backend_spec.rb +45 -0
- 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 +45 -0
- 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 +137 -0
- data/spec/ngrokapi/services/{endpoint_circuit_breaker_module_client_spec.rb → edge_route_circuit_breaker_module_client_spec.rb} +33 -21
- data/spec/ngrokapi/services/{endpoint_compression_module_client_spec.rb → edge_route_compression_module_client_spec.rb} +33 -21
- data/spec/ngrokapi/services/edge_route_ip_restriction_module_client_spec.rb +137 -0
- data/spec/ngrokapi/services/{endpoint_o_auth_module_client_spec.rb → edge_route_o_auth_module_client_spec.rb} +33 -21
- data/spec/ngrokapi/services/{endpoint_oidc_module_client_spec.rb → edge_route_oidc_module_client_spec.rb} +33 -21
- data/spec/ngrokapi/services/{endpoint_request_headers_module_client_spec.rb → edge_route_request_headers_module_client_spec.rb} +33 -21
- data/spec/ngrokapi/services/{endpoint_response_headers_module_client_spec.rb → edge_route_response_headers_module_client_spec.rb} +33 -21
- data/spec/ngrokapi/services/{endpoint_saml_module_client_spec.rb → edge_route_saml_module_client_spec.rb} +33 -21
- data/spec/ngrokapi/services/{endpoint_webhook_validation_module_client_spec.rb → edge_route_webhook_verification_module_client_spec.rb} +33 -21
- data/spec/ngrokapi/services/edge_route_websocket_tcp_converter_module_client_spec.rb +137 -0
- data/spec/ngrokapi/services/edges_https_client_spec.rb +200 -0
- data/spec/ngrokapi/services/edges_https_routes_client_spec.rb +288 -0
- data/spec/ngrokapi/services/edges_tcp_client_spec.rb +200 -0
- data/spec/ngrokapi/services/edges_tls_client_spec.rb +216 -0
- data/spec/ngrokapi/services/endpoints_client_spec.rb +57 -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 +184 -0
- data/spec/ngrokapi/services/http_response_backends_client_spec.rb +200 -0
- data/spec/ngrokapi/services/{endpoint_mutual_tls_module_client_spec.rb → https_edge_mutual_tls_module_client_spec.rb} +19 -21
- data/spec/ngrokapi/services/{endpoint_tls_termination_module_client_spec.rb → https_edge_tls_termination_module_client_spec.rb} +19 -21
- data/spec/ngrokapi/services/ip_policies_client_spec.rb +20 -1
- data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +28 -1
- data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +25 -0
- data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +22 -44
- data/spec/ngrokapi/services/reserved_domains_client_spec.rb +29 -88
- 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 +123 -0
- data/spec/ngrokapi/services/{endpoint_ip_policy_module_client_spec.rb → tcp_edge_ip_restriction_module_client_spec.rb} +19 -21
- data/spec/ngrokapi/services/tls_certificates_client_spec.rb +23 -0
- data/spec/ngrokapi/services/tls_edge_backend_module_client_spec.rb +123 -0
- data/spec/ngrokapi/services/tls_edge_ip_restriction_module_client_spec.rb +123 -0
- data/spec/ngrokapi/services/tls_edge_mutual_tls_module_client_spec.rb +123 -0
- data/spec/ngrokapi/services/tls_edge_tls_termination_module_client_spec.rb +123 -0
- data/spec/ngrokapi/services/tunnel_group_backends_client_spec.rb +184 -0
- data/spec/ngrokapi/services/tunnels_client_spec.rb +36 -0
- data/spec/ngrokapi/services/weighted_backends_client_spec.rb +184 -0
- data/spec/spec_helper.rb +326 -33
- metadata +166 -76
- data/doc/README +0 -94
- data/docs/README +0 -94
- data/lib/ngrokapi/models/endpoint_configuration.rb +0 -130
- data/lib/ngrokapi/models/endpoint_logging.rb +0 -27
- data/lib/ngrokapi/models/endpoint_logging_mutate.rb +0 -27
- data/lib/ngrokapi/models/event_stream.rb +0 -77
- data/lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +0 -108
- data/lib/ngrokapi/services/endpoint_compression_module_client.rb +0 -108
- data/lib/ngrokapi/services/endpoint_configurations_client.rb +0 -289
- data/lib/ngrokapi/services/endpoint_o_auth_module_client.rb +0 -108
- data/lib/ngrokapi/services/endpoint_request_headers_module_client.rb +0 -108
- data/lib/ngrokapi/services/endpoint_response_headers_module_client.rb +0 -108
- data/lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +0 -108
- data/lib/ngrokapi/services/event_streams_client.rb +0 -224
- data/spec/ngrokapi/models/endpoint_configuration_spec.rb +0 -78
- data/spec/ngrokapi/models/endpoint_logging_mutate_spec.rb +0 -21
- data/spec/ngrokapi/models/endpoint_logging_spec.rb +0 -21
- data/spec/ngrokapi/models/event_stream_spec.rb +0 -51
- data/spec/ngrokapi/services/endpoint_configurations_client_spec.rb +0 -237
- data/spec/ngrokapi/services/endpoint_logging_module_client_spec.rb +0 -125
- data/spec/ngrokapi/services/event_streams_client_spec.rb +0 -177
@@ -0,0 +1,1947 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: NgrokAPI::Services::EdgesTCPClient
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.27
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
pathId = "NgrokAPI::Services::EdgesTCPClient";
|
19
|
+
relpath = '../../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../../_index.html">Index (E)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span> » <span class='title'><span class='object_link'><a href="../Services.html" title="NgrokAPI::Services (module)">Services</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">EdgesTCPClient</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Class: NgrokAPI::Services::EdgesTCPClient
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName">Object</span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next">NgrokAPI::Services::EdgesTCPClient</li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
81
|
+
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/ngrokapi/services/edges_tcp_client.rb</dd>
|
98
|
+
</dl>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
<h2>Overview</h2><div class="docstring">
|
103
|
+
<div class="discussion">
|
104
|
+
|
105
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp">ngrok.com/docs/api#api-edges-tcp</a></p>
|
106
|
+
|
107
|
+
|
108
|
+
</div>
|
109
|
+
</div>
|
110
|
+
<div class="tags">
|
111
|
+
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<h2>
|
116
|
+
Constant Summary
|
117
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
118
|
+
</h2>
|
119
|
+
|
120
|
+
<dl class="constants">
|
121
|
+
|
122
|
+
<dt id="PATH-constant" class="">PATH =
|
123
|
+
<div class="docstring">
|
124
|
+
<div class="discussion">
|
125
|
+
|
126
|
+
<p>The API path for the requests</p>
|
127
|
+
|
128
|
+
|
129
|
+
</div>
|
130
|
+
</div>
|
131
|
+
<div class="tags">
|
132
|
+
|
133
|
+
|
134
|
+
</div>
|
135
|
+
</dt>
|
136
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/edges/tcp</span><span class='tstring_end'>'</span></span></pre></dd>
|
137
|
+
|
138
|
+
<dt id="LIST_PROPERTY-constant" class="">LIST_PROPERTY =
|
139
|
+
<div class="docstring">
|
140
|
+
<div class="discussion">
|
141
|
+
|
142
|
+
<p>The List Property from the resulting API for list calls</p>
|
143
|
+
|
144
|
+
|
145
|
+
</div>
|
146
|
+
</div>
|
147
|
+
<div class="tags">
|
148
|
+
|
149
|
+
|
150
|
+
</div>
|
151
|
+
</dt>
|
152
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tcp_edges</span><span class='tstring_end'>'</span></span></pre></dd>
|
153
|
+
|
154
|
+
</dl>
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
161
|
+
<ul class="summary">
|
162
|
+
|
163
|
+
<li class="public ">
|
164
|
+
<span class="summary_signature">
|
165
|
+
|
166
|
+
<a href="#client-instance_method" title="#client (instance method)">#<strong>client</strong> ⇒ Object </a>
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
</span>
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
<span class="note title readonly">readonly</span>
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<span class="summary_desc"><div class='inline'>
|
186
|
+
<p>Returns the value of attribute client.</p>
|
187
|
+
</div></span>
|
188
|
+
|
189
|
+
</li>
|
190
|
+
|
191
|
+
|
192
|
+
</ul>
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
<h2>
|
199
|
+
Instance Method Summary
|
200
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
201
|
+
</h2>
|
202
|
+
|
203
|
+
<ul class="summary">
|
204
|
+
|
205
|
+
<li class="public ">
|
206
|
+
<span class="summary_signature">
|
207
|
+
|
208
|
+
<a href="#create-instance_method" title="#create (instance method)">#<strong>create</strong>(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil) ⇒ NgrokAPI::Models::TCPEdge </a>
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
</span>
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
<span class="summary_desc"><div class='inline'>
|
223
|
+
<p>Create a TCP Edge.</p>
|
224
|
+
</div></span>
|
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) ⇒ NgrokAPI::Models::TCPEdge </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 TCP Edge Throws an exception if API error.</p>
|
248
|
+
</div></span>
|
249
|
+
|
250
|
+
</li>
|
251
|
+
|
252
|
+
|
253
|
+
<li class="public ">
|
254
|
+
<span class="summary_signature">
|
255
|
+
|
256
|
+
<a href="#delete-instance_method" title="#delete (instance method)">#<strong>delete</strong>(id: "") ⇒ NgrokAPI::Models::Empty </a>
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
</span>
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
<span class="summary_desc"><div class='inline'>
|
271
|
+
<p>Delete a TCP Edge by ID.</p>
|
272
|
+
</div></span>
|
273
|
+
|
274
|
+
</li>
|
275
|
+
|
276
|
+
|
277
|
+
<li class="public ">
|
278
|
+
<span class="summary_signature">
|
279
|
+
|
280
|
+
<a href="#delete!-instance_method" title="#delete! (instance method)">#<strong>delete!</strong>(id: "") ⇒ NgrokAPI::Models::Empty </a>
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
</span>
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
<span class="summary_desc"><div class='inline'>
|
295
|
+
<p>Delete a TCP Edge by ID Throws an exception if API error.</p>
|
296
|
+
</div></span>
|
297
|
+
|
298
|
+
</li>
|
299
|
+
|
300
|
+
|
301
|
+
<li class="public ">
|
302
|
+
<span class="summary_signature">
|
303
|
+
|
304
|
+
<a href="#get-instance_method" title="#get (instance method)">#<strong>get</strong>(id: "") ⇒ NgrokAPI::Models::TCPEdge </a>
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
</span>
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
<span class="summary_desc"><div class='inline'>
|
319
|
+
<p>Get a TCP Edge by ID.</p>
|
320
|
+
</div></span>
|
321
|
+
|
322
|
+
</li>
|
323
|
+
|
324
|
+
|
325
|
+
<li class="public ">
|
326
|
+
<span class="summary_signature">
|
327
|
+
|
328
|
+
<a href="#get!-instance_method" title="#get! (instance method)">#<strong>get!</strong>(id: "") ⇒ NgrokAPI::Models::TCPEdge </a>
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
</span>
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
<span class="summary_desc"><div class='inline'>
|
343
|
+
<p>Get a TCP Edge by ID Throws an exception if API error.</p>
|
344
|
+
</div></span>
|
345
|
+
|
346
|
+
</li>
|
347
|
+
|
348
|
+
|
349
|
+
<li class="public ">
|
350
|
+
<span class="summary_signature">
|
351
|
+
|
352
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client:) ⇒ EdgesTCPClient </a>
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
</span>
|
357
|
+
|
358
|
+
|
359
|
+
<span class="note title constructor">constructor</span>
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
<span class="summary_desc"><div class='inline'>
|
369
|
+
<p>A new instance of EdgesTCPClient.</p>
|
370
|
+
</div></span>
|
371
|
+
|
372
|
+
</li>
|
373
|
+
|
374
|
+
|
375
|
+
<li class="public ">
|
376
|
+
<span class="summary_signature">
|
377
|
+
|
378
|
+
<a href="#list-instance_method" title="#list (instance method)">#<strong>list</strong>(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable </a>
|
379
|
+
|
380
|
+
|
381
|
+
|
382
|
+
</span>
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
<span class="summary_desc"><div class='inline'>
|
393
|
+
<p>Returns a list of all TCP Edges on this account.</p>
|
394
|
+
</div></span>
|
395
|
+
|
396
|
+
</li>
|
397
|
+
|
398
|
+
|
399
|
+
<li class="public ">
|
400
|
+
<span class="summary_signature">
|
401
|
+
|
402
|
+
<a href="#list!-instance_method" title="#list! (instance method)">#<strong>list!</strong>(before_id: nil, limit: nil, url: nil) ⇒ NgrokAPI::Models::Listable </a>
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
</span>
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
|
416
|
+
<span class="summary_desc"><div class='inline'>
|
417
|
+
<p>Returns a list of all TCP Edges on this account Throws an exception if API error.</p>
|
418
|
+
</div></span>
|
419
|
+
|
420
|
+
</li>
|
421
|
+
|
422
|
+
|
423
|
+
<li class="public ">
|
424
|
+
<span class="summary_signature">
|
425
|
+
|
426
|
+
<a href="#update-instance_method" title="#update (instance method)">#<strong>update</strong>(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil) ⇒ NgrokAPI::Models::TCPEdge </a>
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
</span>
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
<span class="summary_desc"><div class='inline'>
|
441
|
+
<p>Updates a TCP Edge by ID.</p>
|
442
|
+
</div></span>
|
443
|
+
|
444
|
+
</li>
|
445
|
+
|
446
|
+
|
447
|
+
<li class="public ">
|
448
|
+
<span class="summary_signature">
|
449
|
+
|
450
|
+
<a href="#update!-instance_method" title="#update! (instance method)">#<strong>update!</strong>(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil) ⇒ NgrokAPI::Models::TCPEdge </a>
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
</span>
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
<span class="summary_desc"><div class='inline'>
|
465
|
+
<p>Updates a TCP Edge by ID.</p>
|
466
|
+
</div></span>
|
467
|
+
|
468
|
+
</li>
|
469
|
+
|
470
|
+
|
471
|
+
</ul>
|
472
|
+
|
473
|
+
|
474
|
+
<div id="constructor_details" class="method_details_list">
|
475
|
+
<h2>Constructor Details</h2>
|
476
|
+
|
477
|
+
<div class="method_details first">
|
478
|
+
<h3 class="signature first" id="initialize-instance_method">
|
479
|
+
|
480
|
+
#<strong>initialize</strong>(client:) ⇒ <tt><span class='object_link'><a href="" title="NgrokAPI::Services::EdgesTCPClient (class)">EdgesTCPClient</a></span></tt>
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
</h3><div class="docstring">
|
487
|
+
<div class="discussion">
|
488
|
+
|
489
|
+
<p>Returns a new instance of EdgesTCPClient.</p>
|
490
|
+
|
491
|
+
|
492
|
+
</div>
|
493
|
+
</div>
|
494
|
+
<div class="tags">
|
495
|
+
|
496
|
+
|
497
|
+
</div><table class="source_code">
|
498
|
+
<tr>
|
499
|
+
<td>
|
500
|
+
<pre class="lines">
|
501
|
+
|
502
|
+
|
503
|
+
15
|
504
|
+
16
|
505
|
+
17</pre>
|
506
|
+
</td>
|
507
|
+
<td>
|
508
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 15</span>
|
509
|
+
|
510
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span><span class='rparen'>)</span>
|
511
|
+
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
512
|
+
<span class='kw'>end</span></pre>
|
513
|
+
</td>
|
514
|
+
</tr>
|
515
|
+
</table>
|
516
|
+
</div>
|
517
|
+
|
518
|
+
</div>
|
519
|
+
|
520
|
+
<div id="instance_attr_details" class="attr_details">
|
521
|
+
<h2>Instance Attribute Details</h2>
|
522
|
+
|
523
|
+
|
524
|
+
<span id=""></span>
|
525
|
+
<div class="method_details first">
|
526
|
+
<h3 class="signature first" id="client-instance_method">
|
527
|
+
|
528
|
+
#<strong>client</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
|
534
|
+
</h3><div class="docstring">
|
535
|
+
<div class="discussion">
|
536
|
+
|
537
|
+
<p>Returns the value of attribute client.</p>
|
538
|
+
|
539
|
+
|
540
|
+
</div>
|
541
|
+
</div>
|
542
|
+
<div class="tags">
|
543
|
+
|
544
|
+
|
545
|
+
</div><table class="source_code">
|
546
|
+
<tr>
|
547
|
+
<td>
|
548
|
+
<pre class="lines">
|
549
|
+
|
550
|
+
|
551
|
+
13
|
552
|
+
14
|
553
|
+
15</pre>
|
554
|
+
</td>
|
555
|
+
<td>
|
556
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 13</span>
|
557
|
+
|
558
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
|
559
|
+
<span class='ivar'>@client</span>
|
560
|
+
<span class='kw'>end</span></pre>
|
561
|
+
</td>
|
562
|
+
</tr>
|
563
|
+
</table>
|
564
|
+
</div>
|
565
|
+
|
566
|
+
</div>
|
567
|
+
|
568
|
+
|
569
|
+
<div id="instance_method_details" class="method_details_list">
|
570
|
+
<h2>Instance Method Details</h2>
|
571
|
+
|
572
|
+
|
573
|
+
<div class="method_details first">
|
574
|
+
<h3 class="signature first" id="create-instance_method">
|
575
|
+
|
576
|
+
#<strong>create</strong>(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil) ⇒ <tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
|
581
|
+
|
582
|
+
</h3><div class="docstring">
|
583
|
+
<div class="discussion">
|
584
|
+
|
585
|
+
<p>Create a TCP Edge</p>
|
586
|
+
|
587
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp-create">ngrok.com/docs/api#api-edges-tcp-create</a></p>
|
588
|
+
|
589
|
+
|
590
|
+
</div>
|
591
|
+
</div>
|
592
|
+
<div class="tags">
|
593
|
+
<p class="tag_title">Parameters:</p>
|
594
|
+
<ul class="param">
|
595
|
+
|
596
|
+
<li>
|
597
|
+
|
598
|
+
<span class='name'>description</span>
|
599
|
+
|
600
|
+
|
601
|
+
<span class='type'>(<tt>string</tt>)</span>
|
602
|
+
|
603
|
+
|
604
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
605
|
+
|
606
|
+
|
607
|
+
—
|
608
|
+
<div class='inline'>
|
609
|
+
<p>human-readable description of what this edge will be used for; optional, max 255 bytes.</p>
|
610
|
+
</div>
|
611
|
+
|
612
|
+
</li>
|
613
|
+
|
614
|
+
<li>
|
615
|
+
|
616
|
+
<span class='name'>metadata</span>
|
617
|
+
|
618
|
+
|
619
|
+
<span class='type'>(<tt>string</tt>)</span>
|
620
|
+
|
621
|
+
|
622
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
623
|
+
|
624
|
+
|
625
|
+
—
|
626
|
+
<div class='inline'>
|
627
|
+
<p>arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.</p>
|
628
|
+
</div>
|
629
|
+
|
630
|
+
</li>
|
631
|
+
|
632
|
+
<li>
|
633
|
+
|
634
|
+
<span class='name'>hostports</span>
|
635
|
+
|
636
|
+
|
637
|
+
<span class='type'>(<tt>List<string></tt>)</span>
|
638
|
+
|
639
|
+
|
640
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
641
|
+
|
642
|
+
|
643
|
+
—
|
644
|
+
<div class='inline'>
|
645
|
+
<p>hostports served by this edge</p>
|
646
|
+
</div>
|
647
|
+
|
648
|
+
</li>
|
649
|
+
|
650
|
+
<li>
|
651
|
+
|
652
|
+
<span class='name'>backend</span>
|
653
|
+
|
654
|
+
|
655
|
+
<span class='type'>(<tt>EndpointBackendMutate</tt>)</span>
|
656
|
+
|
657
|
+
|
658
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
659
|
+
|
660
|
+
|
661
|
+
—
|
662
|
+
<div class='inline'>
|
663
|
+
<p>edge modules</p>
|
664
|
+
</div>
|
665
|
+
|
666
|
+
</li>
|
667
|
+
|
668
|
+
<li>
|
669
|
+
|
670
|
+
<span class='name'>ip_restriction</span>
|
671
|
+
|
672
|
+
|
673
|
+
<span class='type'>(<tt>EndpointIPPolicyMutate</tt>)</span>
|
674
|
+
|
675
|
+
|
676
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
677
|
+
|
678
|
+
|
679
|
+
</li>
|
680
|
+
|
681
|
+
</ul>
|
682
|
+
|
683
|
+
<p class="tag_title">Returns:</p>
|
684
|
+
<ul class="return">
|
685
|
+
|
686
|
+
<li>
|
687
|
+
|
688
|
+
|
689
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>)</span>
|
690
|
+
|
691
|
+
|
692
|
+
|
693
|
+
—
|
694
|
+
<div class='inline'>
|
695
|
+
<p>result from the API request</p>
|
696
|
+
</div>
|
697
|
+
|
698
|
+
</li>
|
699
|
+
|
700
|
+
</ul>
|
701
|
+
|
702
|
+
</div><table class="source_code">
|
703
|
+
<tr>
|
704
|
+
<td>
|
705
|
+
<pre class="lines">
|
706
|
+
|
707
|
+
|
708
|
+
30
|
709
|
+
31
|
710
|
+
32
|
711
|
+
33
|
712
|
+
34
|
713
|
+
35
|
714
|
+
36
|
715
|
+
37
|
716
|
+
38
|
717
|
+
39
|
718
|
+
40
|
719
|
+
41
|
720
|
+
42</pre>
|
721
|
+
</td>
|
722
|
+
<td>
|
723
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 30</span>
|
724
|
+
|
725
|
+
<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='rparen'>)</span>
|
726
|
+
<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/tcp</span><span class='tstring_end'>'</span></span>
|
727
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
728
|
+
<span class='rbrace'>}</span>
|
729
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
730
|
+
<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>
|
731
|
+
<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>
|
732
|
+
<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>
|
733
|
+
<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>
|
734
|
+
<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>
|
735
|
+
<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>
|
736
|
+
<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/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">TCPEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TCPEdge.html#initialize-instance_method" title="NgrokAPI::Models::TCPEdge#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>
|
737
|
+
<span class='kw'>end</span></pre>
|
738
|
+
</td>
|
739
|
+
</tr>
|
740
|
+
</table>
|
741
|
+
</div>
|
742
|
+
|
743
|
+
<div class="method_details ">
|
744
|
+
<h3 class="signature " id="create!-instance_method">
|
745
|
+
|
746
|
+
#<strong>create!</strong>(description: "", metadata: "", hostports: nil, backend: nil, ip_restriction: nil) ⇒ <tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>
|
747
|
+
|
748
|
+
|
749
|
+
|
750
|
+
|
751
|
+
|
752
|
+
</h3><div class="docstring">
|
753
|
+
<div class="discussion">
|
754
|
+
|
755
|
+
<p>Create a TCP Edge Throws an exception if API error.</p>
|
756
|
+
|
757
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp-create">ngrok.com/docs/api#api-edges-tcp-create</a></p>
|
758
|
+
|
759
|
+
|
760
|
+
</div>
|
761
|
+
</div>
|
762
|
+
<div class="tags">
|
763
|
+
<p class="tag_title">Parameters:</p>
|
764
|
+
<ul class="param">
|
765
|
+
|
766
|
+
<li>
|
767
|
+
|
768
|
+
<span class='name'>description</span>
|
769
|
+
|
770
|
+
|
771
|
+
<span class='type'>(<tt>string</tt>)</span>
|
772
|
+
|
773
|
+
|
774
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
775
|
+
|
776
|
+
|
777
|
+
—
|
778
|
+
<div class='inline'>
|
779
|
+
<p>human-readable description of what this edge will be used for; optional, max 255 bytes.</p>
|
780
|
+
</div>
|
781
|
+
|
782
|
+
</li>
|
783
|
+
|
784
|
+
<li>
|
785
|
+
|
786
|
+
<span class='name'>metadata</span>
|
787
|
+
|
788
|
+
|
789
|
+
<span class='type'>(<tt>string</tt>)</span>
|
790
|
+
|
791
|
+
|
792
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
793
|
+
|
794
|
+
|
795
|
+
—
|
796
|
+
<div class='inline'>
|
797
|
+
<p>arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.</p>
|
798
|
+
</div>
|
799
|
+
|
800
|
+
</li>
|
801
|
+
|
802
|
+
<li>
|
803
|
+
|
804
|
+
<span class='name'>hostports</span>
|
805
|
+
|
806
|
+
|
807
|
+
<span class='type'>(<tt>List<string></tt>)</span>
|
808
|
+
|
809
|
+
|
810
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
811
|
+
|
812
|
+
|
813
|
+
—
|
814
|
+
<div class='inline'>
|
815
|
+
<p>hostports served by this edge</p>
|
816
|
+
</div>
|
817
|
+
|
818
|
+
</li>
|
819
|
+
|
820
|
+
<li>
|
821
|
+
|
822
|
+
<span class='name'>backend</span>
|
823
|
+
|
824
|
+
|
825
|
+
<span class='type'>(<tt>EndpointBackendMutate</tt>)</span>
|
826
|
+
|
827
|
+
|
828
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
829
|
+
|
830
|
+
|
831
|
+
—
|
832
|
+
<div class='inline'>
|
833
|
+
<p>edge modules</p>
|
834
|
+
</div>
|
835
|
+
|
836
|
+
</li>
|
837
|
+
|
838
|
+
<li>
|
839
|
+
|
840
|
+
<span class='name'>ip_restriction</span>
|
841
|
+
|
842
|
+
|
843
|
+
<span class='type'>(<tt>EndpointIPPolicyMutate</tt>)</span>
|
844
|
+
|
845
|
+
|
846
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
847
|
+
|
848
|
+
|
849
|
+
</li>
|
850
|
+
|
851
|
+
</ul>
|
852
|
+
|
853
|
+
<p class="tag_title">Returns:</p>
|
854
|
+
<ul class="return">
|
855
|
+
|
856
|
+
<li>
|
857
|
+
|
858
|
+
|
859
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>)</span>
|
860
|
+
|
861
|
+
|
862
|
+
|
863
|
+
—
|
864
|
+
<div class='inline'>
|
865
|
+
<p>result from the API request</p>
|
866
|
+
</div>
|
867
|
+
|
868
|
+
</li>
|
869
|
+
|
870
|
+
</ul>
|
871
|
+
|
872
|
+
</div><table class="source_code">
|
873
|
+
<tr>
|
874
|
+
<td>
|
875
|
+
<pre class="lines">
|
876
|
+
|
877
|
+
|
878
|
+
56
|
879
|
+
57
|
880
|
+
58
|
881
|
+
59
|
882
|
+
60
|
883
|
+
61
|
884
|
+
62
|
885
|
+
63
|
886
|
+
64
|
887
|
+
65
|
888
|
+
66
|
889
|
+
67
|
890
|
+
68</pre>
|
891
|
+
</td>
|
892
|
+
<td>
|
893
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 56</span>
|
894
|
+
|
895
|
+
<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='rparen'>)</span>
|
896
|
+
<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/tcp</span><span class='tstring_end'>'</span></span>
|
897
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
898
|
+
<span class='rbrace'>}</span>
|
899
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
900
|
+
<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>
|
901
|
+
<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>
|
902
|
+
<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>
|
903
|
+
<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>
|
904
|
+
<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>
|
905
|
+
<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>
|
906
|
+
<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/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">TCPEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TCPEdge.html#initialize-instance_method" title="NgrokAPI::Models::TCPEdge#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>
|
907
|
+
<span class='kw'>end</span></pre>
|
908
|
+
</td>
|
909
|
+
</tr>
|
910
|
+
</table>
|
911
|
+
</div>
|
912
|
+
|
913
|
+
<div class="method_details ">
|
914
|
+
<h3 class="signature " id="delete-instance_method">
|
915
|
+
|
916
|
+
#<strong>delete</strong>(id: "") ⇒ <tt>NgrokAPI::Models::Empty</tt>
|
917
|
+
|
918
|
+
|
919
|
+
|
920
|
+
|
921
|
+
|
922
|
+
</h3><div class="docstring">
|
923
|
+
<div class="discussion">
|
924
|
+
|
925
|
+
<p>Delete a TCP Edge by ID</p>
|
926
|
+
|
927
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp-delete">ngrok.com/docs/api#api-edges-tcp-delete</a></p>
|
928
|
+
|
929
|
+
|
930
|
+
</div>
|
931
|
+
</div>
|
932
|
+
<div class="tags">
|
933
|
+
<p class="tag_title">Parameters:</p>
|
934
|
+
<ul class="param">
|
935
|
+
|
936
|
+
<li>
|
937
|
+
|
938
|
+
<span class='name'>id</span>
|
939
|
+
|
940
|
+
|
941
|
+
<span class='type'>(<tt>string</tt>)</span>
|
942
|
+
|
943
|
+
|
944
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
945
|
+
|
946
|
+
|
947
|
+
—
|
948
|
+
<div class='inline'>
|
949
|
+
<p>a resource identifier</p>
|
950
|
+
</div>
|
951
|
+
|
952
|
+
</li>
|
953
|
+
|
954
|
+
</ul>
|
955
|
+
|
956
|
+
<p class="tag_title">Returns:</p>
|
957
|
+
<ul class="return">
|
958
|
+
|
959
|
+
<li>
|
960
|
+
|
961
|
+
|
962
|
+
<span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
|
963
|
+
|
964
|
+
|
965
|
+
|
966
|
+
—
|
967
|
+
<div class='inline'>
|
968
|
+
<p>result from the API request</p>
|
969
|
+
</div>
|
970
|
+
|
971
|
+
</li>
|
972
|
+
|
973
|
+
</ul>
|
974
|
+
|
975
|
+
</div><table class="source_code">
|
976
|
+
<tr>
|
977
|
+
<td>
|
978
|
+
<pre class="lines">
|
979
|
+
|
980
|
+
|
981
|
+
226
|
982
|
+
227
|
983
|
+
228
|
984
|
+
229
|
985
|
+
230
|
986
|
+
231
|
987
|
+
232</pre>
|
988
|
+
</td>
|
989
|
+
<td>
|
990
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 226</span>
|
991
|
+
|
992
|
+
<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>
|
993
|
+
<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/tcp/%{id}</span><span class='tstring_end'>'</span></span>
|
994
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
995
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
996
|
+
<span class='rbrace'>}</span>
|
997
|
+
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='rparen'>)</span>
|
998
|
+
<span class='kw'>end</span></pre>
|
999
|
+
</td>
|
1000
|
+
</tr>
|
1001
|
+
</table>
|
1002
|
+
</div>
|
1003
|
+
|
1004
|
+
<div class="method_details ">
|
1005
|
+
<h3 class="signature " id="delete!-instance_method">
|
1006
|
+
|
1007
|
+
#<strong>delete!</strong>(id: "") ⇒ <tt>NgrokAPI::Models::Empty</tt>
|
1008
|
+
|
1009
|
+
|
1010
|
+
|
1011
|
+
|
1012
|
+
|
1013
|
+
</h3><div class="docstring">
|
1014
|
+
<div class="discussion">
|
1015
|
+
|
1016
|
+
<p>Delete a TCP Edge by ID Throws an exception if API error.</p>
|
1017
|
+
|
1018
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp-delete">ngrok.com/docs/api#api-edges-tcp-delete</a></p>
|
1019
|
+
|
1020
|
+
|
1021
|
+
</div>
|
1022
|
+
</div>
|
1023
|
+
<div class="tags">
|
1024
|
+
<p class="tag_title">Parameters:</p>
|
1025
|
+
<ul class="param">
|
1026
|
+
|
1027
|
+
<li>
|
1028
|
+
|
1029
|
+
<span class='name'>id</span>
|
1030
|
+
|
1031
|
+
|
1032
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1033
|
+
|
1034
|
+
|
1035
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
1036
|
+
|
1037
|
+
|
1038
|
+
—
|
1039
|
+
<div class='inline'>
|
1040
|
+
<p>a resource identifier</p>
|
1041
|
+
</div>
|
1042
|
+
|
1043
|
+
</li>
|
1044
|
+
|
1045
|
+
</ul>
|
1046
|
+
|
1047
|
+
<p class="tag_title">Returns:</p>
|
1048
|
+
<ul class="return">
|
1049
|
+
|
1050
|
+
<li>
|
1051
|
+
|
1052
|
+
|
1053
|
+
<span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
|
1054
|
+
|
1055
|
+
|
1056
|
+
|
1057
|
+
—
|
1058
|
+
<div class='inline'>
|
1059
|
+
<p>result from the API request</p>
|
1060
|
+
</div>
|
1061
|
+
|
1062
|
+
</li>
|
1063
|
+
|
1064
|
+
</ul>
|
1065
|
+
|
1066
|
+
</div><table class="source_code">
|
1067
|
+
<tr>
|
1068
|
+
<td>
|
1069
|
+
<pre class="lines">
|
1070
|
+
|
1071
|
+
|
1072
|
+
242
|
1073
|
+
243
|
1074
|
+
244
|
1075
|
+
245
|
1076
|
+
246
|
1077
|
+
247
|
1078
|
+
248</pre>
|
1079
|
+
</td>
|
1080
|
+
<td>
|
1081
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 242</span>
|
1082
|
+
|
1083
|
+
<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>
|
1084
|
+
<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/tcp/%{id}</span><span class='tstring_end'>'</span></span>
|
1085
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1086
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
1087
|
+
<span class='rbrace'>}</span>
|
1088
|
+
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
1089
|
+
<span class='kw'>end</span></pre>
|
1090
|
+
</td>
|
1091
|
+
</tr>
|
1092
|
+
</table>
|
1093
|
+
</div>
|
1094
|
+
|
1095
|
+
<div class="method_details ">
|
1096
|
+
<h3 class="signature " id="get-instance_method">
|
1097
|
+
|
1098
|
+
#<strong>get</strong>(id: "") ⇒ <tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>
|
1099
|
+
|
1100
|
+
|
1101
|
+
|
1102
|
+
|
1103
|
+
|
1104
|
+
</h3><div class="docstring">
|
1105
|
+
<div class="discussion">
|
1106
|
+
|
1107
|
+
<p>Get a TCP Edge by ID</p>
|
1108
|
+
|
1109
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp-get">ngrok.com/docs/api#api-edges-tcp-get</a></p>
|
1110
|
+
|
1111
|
+
|
1112
|
+
</div>
|
1113
|
+
</div>
|
1114
|
+
<div class="tags">
|
1115
|
+
<p class="tag_title">Parameters:</p>
|
1116
|
+
<ul class="param">
|
1117
|
+
|
1118
|
+
<li>
|
1119
|
+
|
1120
|
+
<span class='name'>id</span>
|
1121
|
+
|
1122
|
+
|
1123
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1124
|
+
|
1125
|
+
|
1126
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
1127
|
+
|
1128
|
+
|
1129
|
+
—
|
1130
|
+
<div class='inline'>
|
1131
|
+
<p>a resource identifier</p>
|
1132
|
+
</div>
|
1133
|
+
|
1134
|
+
</li>
|
1135
|
+
|
1136
|
+
</ul>
|
1137
|
+
|
1138
|
+
<p class="tag_title">Returns:</p>
|
1139
|
+
<ul class="return">
|
1140
|
+
|
1141
|
+
<li>
|
1142
|
+
|
1143
|
+
|
1144
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>)</span>
|
1145
|
+
|
1146
|
+
|
1147
|
+
|
1148
|
+
—
|
1149
|
+
<div class='inline'>
|
1150
|
+
<p>result from the API request</p>
|
1151
|
+
</div>
|
1152
|
+
|
1153
|
+
</li>
|
1154
|
+
|
1155
|
+
</ul>
|
1156
|
+
|
1157
|
+
</div><table class="source_code">
|
1158
|
+
<tr>
|
1159
|
+
<td>
|
1160
|
+
<pre class="lines">
|
1161
|
+
|
1162
|
+
|
1163
|
+
77
|
1164
|
+
78
|
1165
|
+
79
|
1166
|
+
80
|
1167
|
+
81
|
1168
|
+
82
|
1169
|
+
83
|
1170
|
+
84
|
1171
|
+
85</pre>
|
1172
|
+
</td>
|
1173
|
+
<td>
|
1174
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 77</span>
|
1175
|
+
|
1176
|
+
<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>
|
1177
|
+
<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/tcp/%{id}</span><span class='tstring_end'>'</span></span>
|
1178
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1179
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
1180
|
+
<span class='rbrace'>}</span>
|
1181
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1182
|
+
<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>
|
1183
|
+
<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/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">TCPEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TCPEdge.html#initialize-instance_method" title="NgrokAPI::Models::TCPEdge#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>
|
1184
|
+
<span class='kw'>end</span></pre>
|
1185
|
+
</td>
|
1186
|
+
</tr>
|
1187
|
+
</table>
|
1188
|
+
</div>
|
1189
|
+
|
1190
|
+
<div class="method_details ">
|
1191
|
+
<h3 class="signature " id="get!-instance_method">
|
1192
|
+
|
1193
|
+
#<strong>get!</strong>(id: "") ⇒ <tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>
|
1194
|
+
|
1195
|
+
|
1196
|
+
|
1197
|
+
|
1198
|
+
|
1199
|
+
</h3><div class="docstring">
|
1200
|
+
<div class="discussion">
|
1201
|
+
|
1202
|
+
<p>Get a TCP Edge by ID Throws an exception if API error.</p>
|
1203
|
+
|
1204
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp-get">ngrok.com/docs/api#api-edges-tcp-get</a></p>
|
1205
|
+
|
1206
|
+
|
1207
|
+
</div>
|
1208
|
+
</div>
|
1209
|
+
<div class="tags">
|
1210
|
+
<p class="tag_title">Parameters:</p>
|
1211
|
+
<ul class="param">
|
1212
|
+
|
1213
|
+
<li>
|
1214
|
+
|
1215
|
+
<span class='name'>id</span>
|
1216
|
+
|
1217
|
+
|
1218
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1219
|
+
|
1220
|
+
|
1221
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
1222
|
+
|
1223
|
+
|
1224
|
+
—
|
1225
|
+
<div class='inline'>
|
1226
|
+
<p>a resource identifier</p>
|
1227
|
+
</div>
|
1228
|
+
|
1229
|
+
</li>
|
1230
|
+
|
1231
|
+
</ul>
|
1232
|
+
|
1233
|
+
<p class="tag_title">Returns:</p>
|
1234
|
+
<ul class="return">
|
1235
|
+
|
1236
|
+
<li>
|
1237
|
+
|
1238
|
+
|
1239
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>)</span>
|
1240
|
+
|
1241
|
+
|
1242
|
+
|
1243
|
+
—
|
1244
|
+
<div class='inline'>
|
1245
|
+
<p>result from the API request</p>
|
1246
|
+
</div>
|
1247
|
+
|
1248
|
+
</li>
|
1249
|
+
|
1250
|
+
</ul>
|
1251
|
+
|
1252
|
+
</div><table class="source_code">
|
1253
|
+
<tr>
|
1254
|
+
<td>
|
1255
|
+
<pre class="lines">
|
1256
|
+
|
1257
|
+
|
1258
|
+
95
|
1259
|
+
96
|
1260
|
+
97
|
1261
|
+
98
|
1262
|
+
99
|
1263
|
+
100
|
1264
|
+
101
|
1265
|
+
102
|
1266
|
+
103</pre>
|
1267
|
+
</td>
|
1268
|
+
<td>
|
1269
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 95</span>
|
1270
|
+
|
1271
|
+
<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>
|
1272
|
+
<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/tcp/%{id}</span><span class='tstring_end'>'</span></span>
|
1273
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1274
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
1275
|
+
<span class='rbrace'>}</span>
|
1276
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1277
|
+
<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>
|
1278
|
+
<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/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">TCPEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TCPEdge.html#initialize-instance_method" title="NgrokAPI::Models::TCPEdge#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>
|
1279
|
+
<span class='kw'>end</span></pre>
|
1280
|
+
</td>
|
1281
|
+
</tr>
|
1282
|
+
</table>
|
1283
|
+
</div>
|
1284
|
+
|
1285
|
+
<div class="method_details ">
|
1286
|
+
<h3 class="signature " id="list-instance_method">
|
1287
|
+
|
1288
|
+
#<strong>list</strong>(before_id: nil, limit: nil, url: nil) ⇒ <tt><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">NgrokAPI::Models::Listable</a></span></tt>
|
1289
|
+
|
1290
|
+
|
1291
|
+
|
1292
|
+
|
1293
|
+
|
1294
|
+
</h3><div class="docstring">
|
1295
|
+
<div class="discussion">
|
1296
|
+
|
1297
|
+
<p>Returns a list of all TCP Edges on this account</p>
|
1298
|
+
|
1299
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp-list">ngrok.com/docs/api#api-edges-tcp-list</a></p>
|
1300
|
+
|
1301
|
+
|
1302
|
+
</div>
|
1303
|
+
</div>
|
1304
|
+
<div class="tags">
|
1305
|
+
<p class="tag_title">Parameters:</p>
|
1306
|
+
<ul class="param">
|
1307
|
+
|
1308
|
+
<li>
|
1309
|
+
|
1310
|
+
<span class='name'>before_id</span>
|
1311
|
+
|
1312
|
+
|
1313
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1314
|
+
|
1315
|
+
|
1316
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1317
|
+
|
1318
|
+
|
1319
|
+
</li>
|
1320
|
+
|
1321
|
+
<li>
|
1322
|
+
|
1323
|
+
<span class='name'>limit</span>
|
1324
|
+
|
1325
|
+
|
1326
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1327
|
+
|
1328
|
+
|
1329
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1330
|
+
|
1331
|
+
|
1332
|
+
</li>
|
1333
|
+
|
1334
|
+
<li>
|
1335
|
+
|
1336
|
+
<span class='name'>url</span>
|
1337
|
+
|
1338
|
+
|
1339
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1340
|
+
|
1341
|
+
|
1342
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1343
|
+
|
1344
|
+
|
1345
|
+
—
|
1346
|
+
<div class='inline'>
|
1347
|
+
<p>optional and mutually exclusive from before_id and limit</p>
|
1348
|
+
</div>
|
1349
|
+
|
1350
|
+
</li>
|
1351
|
+
|
1352
|
+
</ul>
|
1353
|
+
|
1354
|
+
<p class="tag_title">Returns:</p>
|
1355
|
+
<ul class="return">
|
1356
|
+
|
1357
|
+
<li>
|
1358
|
+
|
1359
|
+
|
1360
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">NgrokAPI::Models::Listable</a></span></tt>)</span>
|
1361
|
+
|
1362
|
+
|
1363
|
+
|
1364
|
+
—
|
1365
|
+
<div class='inline'>
|
1366
|
+
<p>result from the API request</p>
|
1367
|
+
</div>
|
1368
|
+
|
1369
|
+
</li>
|
1370
|
+
|
1371
|
+
</ul>
|
1372
|
+
|
1373
|
+
</div><table class="source_code">
|
1374
|
+
<tr>
|
1375
|
+
<td>
|
1376
|
+
<pre class="lines">
|
1377
|
+
|
1378
|
+
|
1379
|
+
114
|
1380
|
+
115
|
1381
|
+
116
|
1382
|
+
117
|
1383
|
+
118
|
1384
|
+
119
|
1385
|
+
120
|
1386
|
+
121
|
1387
|
+
122
|
1388
|
+
123
|
1389
|
+
124
|
1390
|
+
125
|
1391
|
+
126
|
1392
|
+
127
|
1393
|
+
128</pre>
|
1394
|
+
</td>
|
1395
|
+
<td>
|
1396
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 114</span>
|
1397
|
+
|
1398
|
+
<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>
|
1399
|
+
<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>
|
1400
|
+
<span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
|
1401
|
+
<span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
|
1402
|
+
<span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span>
|
1403
|
+
<span class='label'>path:</span> <span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::EdgesTCPClient::PATH (constant)">PATH</a></span></span>
|
1404
|
+
<span class='rparen'>)</span>
|
1405
|
+
|
1406
|
+
<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>
|
1407
|
+
<span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
|
1408
|
+
<span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
|
1409
|
+
<span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::EdgesTCPClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
|
1410
|
+
<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/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">TCPEdge</a></span></span>
|
1411
|
+
<span class='rparen'>)</span>
|
1412
|
+
<span class='kw'>end</span></pre>
|
1413
|
+
</td>
|
1414
|
+
</tr>
|
1415
|
+
</table>
|
1416
|
+
</div>
|
1417
|
+
|
1418
|
+
<div class="method_details ">
|
1419
|
+
<h3 class="signature " id="list!-instance_method">
|
1420
|
+
|
1421
|
+
#<strong>list!</strong>(before_id: nil, limit: nil, url: nil) ⇒ <tt><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">NgrokAPI::Models::Listable</a></span></tt>
|
1422
|
+
|
1423
|
+
|
1424
|
+
|
1425
|
+
|
1426
|
+
|
1427
|
+
</h3><div class="docstring">
|
1428
|
+
<div class="discussion">
|
1429
|
+
|
1430
|
+
<p>Returns a list of all TCP Edges on this account Throws an exception if API error.</p>
|
1431
|
+
|
1432
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp-list">ngrok.com/docs/api#api-edges-tcp-list</a></p>
|
1433
|
+
|
1434
|
+
|
1435
|
+
</div>
|
1436
|
+
</div>
|
1437
|
+
<div class="tags">
|
1438
|
+
<p class="tag_title">Parameters:</p>
|
1439
|
+
<ul class="param">
|
1440
|
+
|
1441
|
+
<li>
|
1442
|
+
|
1443
|
+
<span class='name'>before_id</span>
|
1444
|
+
|
1445
|
+
|
1446
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1447
|
+
|
1448
|
+
|
1449
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1450
|
+
|
1451
|
+
|
1452
|
+
</li>
|
1453
|
+
|
1454
|
+
<li>
|
1455
|
+
|
1456
|
+
<span class='name'>limit</span>
|
1457
|
+
|
1458
|
+
|
1459
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1460
|
+
|
1461
|
+
|
1462
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1463
|
+
|
1464
|
+
|
1465
|
+
</li>
|
1466
|
+
|
1467
|
+
<li>
|
1468
|
+
|
1469
|
+
<span class='name'>url</span>
|
1470
|
+
|
1471
|
+
|
1472
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1473
|
+
|
1474
|
+
|
1475
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1476
|
+
|
1477
|
+
|
1478
|
+
—
|
1479
|
+
<div class='inline'>
|
1480
|
+
<p>optional and mutually exclusive from before_id and limit</p>
|
1481
|
+
</div>
|
1482
|
+
|
1483
|
+
</li>
|
1484
|
+
|
1485
|
+
</ul>
|
1486
|
+
|
1487
|
+
<p class="tag_title">Returns:</p>
|
1488
|
+
<ul class="return">
|
1489
|
+
|
1490
|
+
<li>
|
1491
|
+
|
1492
|
+
|
1493
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">NgrokAPI::Models::Listable</a></span></tt>)</span>
|
1494
|
+
|
1495
|
+
|
1496
|
+
|
1497
|
+
—
|
1498
|
+
<div class='inline'>
|
1499
|
+
<p>result from the API request</p>
|
1500
|
+
</div>
|
1501
|
+
|
1502
|
+
</li>
|
1503
|
+
|
1504
|
+
</ul>
|
1505
|
+
|
1506
|
+
</div><table class="source_code">
|
1507
|
+
<tr>
|
1508
|
+
<td>
|
1509
|
+
<pre class="lines">
|
1510
|
+
|
1511
|
+
|
1512
|
+
140
|
1513
|
+
141
|
1514
|
+
142
|
1515
|
+
143
|
1516
|
+
144
|
1517
|
+
145
|
1518
|
+
146
|
1519
|
+
147
|
1520
|
+
148
|
1521
|
+
149
|
1522
|
+
150
|
1523
|
+
151
|
1524
|
+
152
|
1525
|
+
153
|
1526
|
+
154
|
1527
|
+
155
|
1528
|
+
156</pre>
|
1529
|
+
</td>
|
1530
|
+
<td>
|
1531
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 140</span>
|
1532
|
+
|
1533
|
+
<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>
|
1534
|
+
<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>
|
1535
|
+
<span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
|
1536
|
+
<span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
|
1537
|
+
<span class='label'>danger:</span> <span class='kw'>true</span><span class='comma'>,</span>
|
1538
|
+
<span class='label'>url:</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span>
|
1539
|
+
<span class='label'>path:</span> <span class='const'><span class='object_link'><a href="#PATH-constant" title="NgrokAPI::Services::EdgesTCPClient::PATH (constant)">PATH</a></span></span>
|
1540
|
+
<span class='rparen'>)</span>
|
1541
|
+
|
1542
|
+
<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>
|
1543
|
+
<span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
|
1544
|
+
<span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
|
1545
|
+
<span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::EdgesTCPClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
|
1546
|
+
<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/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">TCPEdge</a></span></span><span class='comma'>,</span>
|
1547
|
+
<span class='label'>danger:</span> <span class='kw'>true</span>
|
1548
|
+
<span class='rparen'>)</span>
|
1549
|
+
<span class='kw'>end</span></pre>
|
1550
|
+
</td>
|
1551
|
+
</tr>
|
1552
|
+
</table>
|
1553
|
+
</div>
|
1554
|
+
|
1555
|
+
<div class="method_details ">
|
1556
|
+
<h3 class="signature " id="update-instance_method">
|
1557
|
+
|
1558
|
+
#<strong>update</strong>(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil) ⇒ <tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>
|
1559
|
+
|
1560
|
+
|
1561
|
+
|
1562
|
+
|
1563
|
+
|
1564
|
+
</h3><div class="docstring">
|
1565
|
+
<div class="discussion">
|
1566
|
+
|
1567
|
+
<p>Updates a TCP Edge by ID. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API.</p>
|
1568
|
+
|
1569
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp-update">ngrok.com/docs/api#api-edges-tcp-update</a></p>
|
1570
|
+
|
1571
|
+
|
1572
|
+
</div>
|
1573
|
+
</div>
|
1574
|
+
<div class="tags">
|
1575
|
+
<p class="tag_title">Parameters:</p>
|
1576
|
+
<ul class="param">
|
1577
|
+
|
1578
|
+
<li>
|
1579
|
+
|
1580
|
+
<span class='name'>id</span>
|
1581
|
+
|
1582
|
+
|
1583
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1584
|
+
|
1585
|
+
|
1586
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
1587
|
+
|
1588
|
+
|
1589
|
+
—
|
1590
|
+
<div class='inline'>
|
1591
|
+
<p>unique identifier of this edge</p>
|
1592
|
+
</div>
|
1593
|
+
|
1594
|
+
</li>
|
1595
|
+
|
1596
|
+
<li>
|
1597
|
+
|
1598
|
+
<span class='name'>description</span>
|
1599
|
+
|
1600
|
+
|
1601
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1602
|
+
|
1603
|
+
|
1604
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1605
|
+
|
1606
|
+
|
1607
|
+
—
|
1608
|
+
<div class='inline'>
|
1609
|
+
<p>human-readable description of what this edge will be used for; optional, max 255 bytes.</p>
|
1610
|
+
</div>
|
1611
|
+
|
1612
|
+
</li>
|
1613
|
+
|
1614
|
+
<li>
|
1615
|
+
|
1616
|
+
<span class='name'>metadata</span>
|
1617
|
+
|
1618
|
+
|
1619
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1620
|
+
|
1621
|
+
|
1622
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1623
|
+
|
1624
|
+
|
1625
|
+
—
|
1626
|
+
<div class='inline'>
|
1627
|
+
<p>arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.</p>
|
1628
|
+
</div>
|
1629
|
+
|
1630
|
+
</li>
|
1631
|
+
|
1632
|
+
<li>
|
1633
|
+
|
1634
|
+
<span class='name'>hostports</span>
|
1635
|
+
|
1636
|
+
|
1637
|
+
<span class='type'>(<tt>List<string></tt>)</span>
|
1638
|
+
|
1639
|
+
|
1640
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1641
|
+
|
1642
|
+
|
1643
|
+
—
|
1644
|
+
<div class='inline'>
|
1645
|
+
<p>hostports served by this edge</p>
|
1646
|
+
</div>
|
1647
|
+
|
1648
|
+
</li>
|
1649
|
+
|
1650
|
+
<li>
|
1651
|
+
|
1652
|
+
<span class='name'>backend</span>
|
1653
|
+
|
1654
|
+
|
1655
|
+
<span class='type'>(<tt>EndpointBackendMutate</tt>)</span>
|
1656
|
+
|
1657
|
+
|
1658
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1659
|
+
|
1660
|
+
|
1661
|
+
—
|
1662
|
+
<div class='inline'>
|
1663
|
+
<p>edge modules</p>
|
1664
|
+
</div>
|
1665
|
+
|
1666
|
+
</li>
|
1667
|
+
|
1668
|
+
<li>
|
1669
|
+
|
1670
|
+
<span class='name'>ip_restriction</span>
|
1671
|
+
|
1672
|
+
|
1673
|
+
<span class='type'>(<tt>EndpointIPPolicyMutate</tt>)</span>
|
1674
|
+
|
1675
|
+
|
1676
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1677
|
+
|
1678
|
+
|
1679
|
+
</li>
|
1680
|
+
|
1681
|
+
</ul>
|
1682
|
+
|
1683
|
+
<p class="tag_title">Returns:</p>
|
1684
|
+
<ul class="return">
|
1685
|
+
|
1686
|
+
<li>
|
1687
|
+
|
1688
|
+
|
1689
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>)</span>
|
1690
|
+
|
1691
|
+
|
1692
|
+
|
1693
|
+
—
|
1694
|
+
<div class='inline'>
|
1695
|
+
<p>result from the API request</p>
|
1696
|
+
</div>
|
1697
|
+
|
1698
|
+
</li>
|
1699
|
+
|
1700
|
+
</ul>
|
1701
|
+
|
1702
|
+
</div><table class="source_code">
|
1703
|
+
<tr>
|
1704
|
+
<td>
|
1705
|
+
<pre class="lines">
|
1706
|
+
|
1707
|
+
|
1708
|
+
173
|
1709
|
+
174
|
1710
|
+
175
|
1711
|
+
176
|
1712
|
+
177
|
1713
|
+
178
|
1714
|
+
179
|
1715
|
+
180
|
1716
|
+
181
|
1717
|
+
182
|
1718
|
+
183
|
1719
|
+
184
|
1720
|
+
185
|
1721
|
+
186</pre>
|
1722
|
+
</td>
|
1723
|
+
<td>
|
1724
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 173</span>
|
1725
|
+
|
1726
|
+
<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='rparen'>)</span>
|
1727
|
+
<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/tcp/%{id}</span><span class='tstring_end'>'</span></span>
|
1728
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1729
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
1730
|
+
<span class='rbrace'>}</span>
|
1731
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1732
|
+
<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>
|
1733
|
+
<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>
|
1734
|
+
<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>
|
1735
|
+
<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>
|
1736
|
+
<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>
|
1737
|
+
<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>
|
1738
|
+
<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/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">TCPEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TCPEdge.html#initialize-instance_method" title="NgrokAPI::Models::TCPEdge#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>
|
1739
|
+
<span class='kw'>end</span></pre>
|
1740
|
+
</td>
|
1741
|
+
</tr>
|
1742
|
+
</table>
|
1743
|
+
</div>
|
1744
|
+
|
1745
|
+
<div class="method_details ">
|
1746
|
+
<h3 class="signature " id="update!-instance_method">
|
1747
|
+
|
1748
|
+
#<strong>update!</strong>(id: "", description: nil, metadata: nil, hostports: nil, backend: nil, ip_restriction: nil) ⇒ <tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>
|
1749
|
+
|
1750
|
+
|
1751
|
+
|
1752
|
+
|
1753
|
+
|
1754
|
+
</h3><div class="docstring">
|
1755
|
+
<div class="discussion">
|
1756
|
+
|
1757
|
+
<p>Updates a TCP Edge by ID. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API. Throws an exception if API error.</p>
|
1758
|
+
|
1759
|
+
<p><a href="https://ngrok.com/docs/api#api-edges-tcp-update">ngrok.com/docs/api#api-edges-tcp-update</a></p>
|
1760
|
+
|
1761
|
+
|
1762
|
+
</div>
|
1763
|
+
</div>
|
1764
|
+
<div class="tags">
|
1765
|
+
<p class="tag_title">Parameters:</p>
|
1766
|
+
<ul class="param">
|
1767
|
+
|
1768
|
+
<li>
|
1769
|
+
|
1770
|
+
<span class='name'>id</span>
|
1771
|
+
|
1772
|
+
|
1773
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1774
|
+
|
1775
|
+
|
1776
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
1777
|
+
|
1778
|
+
|
1779
|
+
—
|
1780
|
+
<div class='inline'>
|
1781
|
+
<p>unique identifier of this edge</p>
|
1782
|
+
</div>
|
1783
|
+
|
1784
|
+
</li>
|
1785
|
+
|
1786
|
+
<li>
|
1787
|
+
|
1788
|
+
<span class='name'>description</span>
|
1789
|
+
|
1790
|
+
|
1791
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1792
|
+
|
1793
|
+
|
1794
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1795
|
+
|
1796
|
+
|
1797
|
+
—
|
1798
|
+
<div class='inline'>
|
1799
|
+
<p>human-readable description of what this edge will be used for; optional, max 255 bytes.</p>
|
1800
|
+
</div>
|
1801
|
+
|
1802
|
+
</li>
|
1803
|
+
|
1804
|
+
<li>
|
1805
|
+
|
1806
|
+
<span class='name'>metadata</span>
|
1807
|
+
|
1808
|
+
|
1809
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1810
|
+
|
1811
|
+
|
1812
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1813
|
+
|
1814
|
+
|
1815
|
+
—
|
1816
|
+
<div class='inline'>
|
1817
|
+
<p>arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.</p>
|
1818
|
+
</div>
|
1819
|
+
|
1820
|
+
</li>
|
1821
|
+
|
1822
|
+
<li>
|
1823
|
+
|
1824
|
+
<span class='name'>hostports</span>
|
1825
|
+
|
1826
|
+
|
1827
|
+
<span class='type'>(<tt>List<string></tt>)</span>
|
1828
|
+
|
1829
|
+
|
1830
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1831
|
+
|
1832
|
+
|
1833
|
+
—
|
1834
|
+
<div class='inline'>
|
1835
|
+
<p>hostports served by this edge</p>
|
1836
|
+
</div>
|
1837
|
+
|
1838
|
+
</li>
|
1839
|
+
|
1840
|
+
<li>
|
1841
|
+
|
1842
|
+
<span class='name'>backend</span>
|
1843
|
+
|
1844
|
+
|
1845
|
+
<span class='type'>(<tt>EndpointBackendMutate</tt>)</span>
|
1846
|
+
|
1847
|
+
|
1848
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1849
|
+
|
1850
|
+
|
1851
|
+
—
|
1852
|
+
<div class='inline'>
|
1853
|
+
<p>edge modules</p>
|
1854
|
+
</div>
|
1855
|
+
|
1856
|
+
</li>
|
1857
|
+
|
1858
|
+
<li>
|
1859
|
+
|
1860
|
+
<span class='name'>ip_restriction</span>
|
1861
|
+
|
1862
|
+
|
1863
|
+
<span class='type'>(<tt>EndpointIPPolicyMutate</tt>)</span>
|
1864
|
+
|
1865
|
+
|
1866
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
1867
|
+
|
1868
|
+
|
1869
|
+
</li>
|
1870
|
+
|
1871
|
+
</ul>
|
1872
|
+
|
1873
|
+
<p class="tag_title">Returns:</p>
|
1874
|
+
<ul class="return">
|
1875
|
+
|
1876
|
+
<li>
|
1877
|
+
|
1878
|
+
|
1879
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">NgrokAPI::Models::TCPEdge</a></span></tt>)</span>
|
1880
|
+
|
1881
|
+
|
1882
|
+
|
1883
|
+
—
|
1884
|
+
<div class='inline'>
|
1885
|
+
<p>result from the API request</p>
|
1886
|
+
</div>
|
1887
|
+
|
1888
|
+
</li>
|
1889
|
+
|
1890
|
+
</ul>
|
1891
|
+
|
1892
|
+
</div><table class="source_code">
|
1893
|
+
<tr>
|
1894
|
+
<td>
|
1895
|
+
<pre class="lines">
|
1896
|
+
|
1897
|
+
|
1898
|
+
204
|
1899
|
+
205
|
1900
|
+
206
|
1901
|
+
207
|
1902
|
+
208
|
1903
|
+
209
|
1904
|
+
210
|
1905
|
+
211
|
1906
|
+
212
|
1907
|
+
213
|
1908
|
+
214
|
1909
|
+
215
|
1910
|
+
216
|
1911
|
+
217</pre>
|
1912
|
+
</td>
|
1913
|
+
<td>
|
1914
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/edges_tcp_client.rb', line 204</span>
|
1915
|
+
|
1916
|
+
<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='rparen'>)</span>
|
1917
|
+
<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/tcp/%{id}</span><span class='tstring_end'>'</span></span>
|
1918
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1919
|
+
<span class='label'>id:</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
|
1920
|
+
<span class='rbrace'>}</span>
|
1921
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1922
|
+
<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>
|
1923
|
+
<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>
|
1924
|
+
<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>
|
1925
|
+
<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>
|
1926
|
+
<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>
|
1927
|
+
<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>
|
1928
|
+
<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/TCPEdge.html" title="NgrokAPI::Models::TCPEdge (class)">TCPEdge</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/TCPEdge.html#initialize-instance_method" title="NgrokAPI::Models::TCPEdge#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>
|
1929
|
+
<span class='kw'>end</span></pre>
|
1930
|
+
</td>
|
1931
|
+
</tr>
|
1932
|
+
</table>
|
1933
|
+
</div>
|
1934
|
+
|
1935
|
+
</div>
|
1936
|
+
|
1937
|
+
</div>
|
1938
|
+
|
1939
|
+
<div id="footer">
|
1940
|
+
Generated on Mon Apr 11 19:32:58 2022 by
|
1941
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1942
|
+
0.9.27 (ruby-2.7.5).
|
1943
|
+
</div>
|
1944
|
+
|
1945
|
+
</div>
|
1946
|
+
</body>
|
1947
|
+
</html>
|