ngrok-api 0.18.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +7 -7
- data/.gitignore +15 -13
- data/.rubocop.yml +30 -28
- data/.rubocop_airbnb.yml +4 -2
- data/.simplecov +3 -1
- data/CHANGELOG.md +8 -0
- data/CODE_OF_CONDUCT.md +45 -0
- data/Gemfile +34 -32
- data/Guardfile +18 -16
- data/README.md +94 -61
- data/Rakefile +9 -7
- data/doc/NgrokAPI/Client.html +229 -125
- data/doc/NgrokAPI/Error.html +12 -12
- data/doc/NgrokAPI/Errors/NotFoundError.html +12 -12
- data/doc/NgrokAPI/Errors.html +4 -4
- data/doc/NgrokAPI/HttpClient.html +208 -65
- data/doc/NgrokAPI/Models/APIKey.html +220 -90
- data/doc/NgrokAPI/Models/AWSAuth.html +113 -61
- data/doc/NgrokAPI/Models/AWSCredentials.html +120 -68
- data/doc/NgrokAPI/Models/AWSRole.html +101 -49
- data/doc/NgrokAPI/Models/AbuseReport.html +165 -109
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +113 -61
- data/doc/NgrokAPI/Models/AgentIngress.html +365 -155
- data/doc/NgrokAPI/Models/AgentIngressCertJob.html +817 -0
- data/doc/NgrokAPI/Models/AgentIngressCertPolicy.html +669 -0
- data/doc/NgrokAPI/Models/AgentIngressCertStatus.html +669 -0
- data/doc/NgrokAPI/Models/ApplicationSession.html +1414 -0
- data/doc/NgrokAPI/Models/ApplicationUser.html +1336 -0
- data/doc/NgrokAPI/Models/BrowserSession.html +743 -0
- data/doc/NgrokAPI/Models/CertificateAuthority.html +223 -167
- data/doc/NgrokAPI/Models/Credential.html +225 -95
- data/doc/NgrokAPI/Models/Endpoint.html +215 -159
- data/doc/NgrokAPI/Models/EndpointBackend.html +120 -68
- data/doc/NgrokAPI/Models/EndpointBackendMutate.html +120 -68
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +147 -95
- data/doc/NgrokAPI/Models/EndpointCompression.html +108 -56
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +120 -68
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +120 -68
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +120 -68
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +120 -68
- data/doc/NgrokAPI/Models/EndpointOAuth.html +166 -114
- data/doc/NgrokAPI/Models/EndpointOAuthAmazon.html +891 -0
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +149 -97
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +166 -114
- data/doc/NgrokAPI/Models/EndpointOAuthGitLab.html +891 -0
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +149 -97
- data/doc/NgrokAPI/Models/EndpointOAuthLinkedIn.html +891 -0
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +149 -97
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +410 -62
- data/doc/NgrokAPI/Models/EndpointOAuthTwitch.html +891 -0
- data/doc/NgrokAPI/Models/EndpointOIDC.html +183 -131
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +125 -73
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +125 -73
- data/doc/NgrokAPI/Models/EndpointSAML.html +244 -176
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +197 -141
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +125 -73
- data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +120 -68
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +125 -73
- data/doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +108 -56
- data/doc/NgrokAPI/Models/EventDestination.html +178 -122
- data/doc/NgrokAPI/Models/EventSource.html +136 -80
- data/doc/NgrokAPI/Models/EventSourceList.html +112 -56
- data/doc/NgrokAPI/Models/EventSourceReplace.html +125 -73
- data/doc/NgrokAPI/Models/EventSubscription.html +178 -122
- data/doc/NgrokAPI/Models/EventTarget.html +206 -80
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +120 -68
- data/doc/NgrokAPI/Models/EventTargetDatadog.html +817 -0
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +120 -68
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +113 -61
- data/doc/NgrokAPI/Models/FailoverBackend.html +186 -130
- data/doc/NgrokAPI/Models/HTTPResponseBackend.html +202 -146
- data/doc/NgrokAPI/Models/HTTPSEdge.html +207 -151
- data/doc/NgrokAPI/Models/HTTPSEdgeRoute.html +272 -216
- data/doc/NgrokAPI/Models/IPPolicy.html +178 -122
- data/doc/NgrokAPI/Models/IPPolicyRule.html +201 -145
- data/doc/NgrokAPI/Models/IPRestriction.html +190 -134
- data/doc/NgrokAPI/Models/IdentityProvider.html +669 -0
- data/doc/NgrokAPI/Models/Listable.html +130 -130
- data/doc/NgrokAPI/Models/Location.html +817 -0
- data/doc/NgrokAPI/Models/Ref.html +119 -63
- data/doc/NgrokAPI/Models/ReservedAddr.html +189 -133
- data/doc/NgrokAPI/Models/ReservedDomain.html +231 -175
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +130 -78
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +120 -68
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +120 -68
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +197 -141
- data/doc/NgrokAPI/Models/SSHCredential.html +232 -102
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +226 -170
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +240 -184
- data/doc/NgrokAPI/Models/TCPEdge.html +204 -148
- data/doc/NgrokAPI/Models/TLSCertificate.html +279 -223
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +120 -68
- data/doc/NgrokAPI/Models/TLSEdge.html +216 -160
- data/doc/NgrokAPI/Models/Tunnel.html +205 -149
- data/doc/NgrokAPI/Models/TunnelGroupBackend.html +191 -135
- data/doc/NgrokAPI/Models/TunnelSession.html +193 -137
- data/doc/NgrokAPI/Models/UserAgent.html +965 -0
- data/doc/NgrokAPI/Models/WeightedBackend.html +186 -130
- data/doc/NgrokAPI/Models.html +6 -6
- data/doc/NgrokAPI/PagedIterator.html +53 -53
- data/doc/NgrokAPI/Services/APIKeysClient.html +302 -127
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +176 -39
- data/doc/NgrokAPI/Services/AgentIngressesClient.html +366 -133
- data/doc/NgrokAPI/Services/ApplicationSessionsClient.html +1131 -0
- data/doc/NgrokAPI/Services/ApplicationUsersClient.html +1131 -0
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +276 -123
- data/doc/NgrokAPI/Services/CredentialsClient.html +328 -133
- data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +319 -129
- data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +528 -113
- data/doc/NgrokAPI/Services/EdgesTCPClient.html +319 -129
- data/doc/NgrokAPI/Services/EdgesTLSClient.html +353 -133
- data/doc/NgrokAPI/Services/EndpointsClient.html +22 -26
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +302 -127
- data/doc/NgrokAPI/Services/EventSourcesClient.html +244 -105
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +302 -127
- data/doc/NgrokAPI/Services/FailoverBackendsClient.html +282 -127
- data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +322 -129
- data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +258 -123
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +317 -130
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +318 -127
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +278 -123
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +388 -171
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +318 -123
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +345 -132
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +354 -123
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +397 -126
- data/doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TLSCertificatesClient.html +296 -125
- data/doc/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +22 -26
- data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +282 -127
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +22 -26
- data/doc/NgrokAPI/Services/TunnelsClient.html +22 -26
- data/doc/NgrokAPI/Services/WeightedBackendsClient.html +285 -130
- data/doc/NgrokAPI/Services.html +6 -6
- data/doc/NgrokAPI.html +6 -6
- data/doc/_index.html +139 -8
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +55 -51
- data/doc/frames.html +1 -1
- data/doc/index.html +55 -51
- data/doc/method_list.html +4383 -2175
- data/doc/top-level-namespace.html +4 -4
- data/docs/NgrokAPI/Client.html +229 -125
- data/docs/NgrokAPI/Error.html +12 -12
- data/docs/NgrokAPI/Errors/NotFoundError.html +12 -12
- data/docs/NgrokAPI/Errors.html +4 -4
- data/docs/NgrokAPI/HttpClient.html +208 -65
- data/docs/NgrokAPI/Models/APIKey.html +220 -90
- data/docs/NgrokAPI/Models/AWSAuth.html +113 -61
- data/docs/NgrokAPI/Models/AWSCredentials.html +120 -68
- data/docs/NgrokAPI/Models/AWSRole.html +101 -49
- data/docs/NgrokAPI/Models/AbuseReport.html +165 -109
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +113 -61
- data/docs/NgrokAPI/Models/AgentIngress.html +365 -155
- data/docs/NgrokAPI/Models/AgentIngressCertJob.html +817 -0
- data/docs/NgrokAPI/Models/AgentIngressCertPolicy.html +669 -0
- data/docs/NgrokAPI/Models/AgentIngressCertStatus.html +669 -0
- data/docs/NgrokAPI/Models/ApplicationSession.html +1414 -0
- data/docs/NgrokAPI/Models/ApplicationUser.html +1336 -0
- data/docs/NgrokAPI/Models/BrowserSession.html +743 -0
- data/docs/NgrokAPI/Models/CertificateAuthority.html +223 -167
- data/docs/NgrokAPI/Models/Credential.html +225 -95
- data/docs/NgrokAPI/Models/Endpoint.html +215 -159
- data/docs/NgrokAPI/Models/EndpointBackend.html +120 -68
- data/docs/NgrokAPI/Models/EndpointBackendMutate.html +120 -68
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +147 -95
- data/docs/NgrokAPI/Models/EndpointCompression.html +108 -56
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +120 -68
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +120 -68
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +120 -68
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +120 -68
- data/docs/NgrokAPI/Models/EndpointOAuth.html +166 -114
- data/docs/NgrokAPI/Models/EndpointOAuthAmazon.html +891 -0
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +149 -97
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +166 -114
- data/docs/NgrokAPI/Models/EndpointOAuthGitLab.html +891 -0
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +149 -97
- data/docs/NgrokAPI/Models/EndpointOAuthLinkedIn.html +891 -0
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +149 -97
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +410 -62
- data/docs/NgrokAPI/Models/EndpointOAuthTwitch.html +891 -0
- data/docs/NgrokAPI/Models/EndpointOIDC.html +183 -131
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +125 -73
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +125 -73
- data/docs/NgrokAPI/Models/EndpointSAML.html +244 -176
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +197 -141
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +125 -73
- data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +120 -68
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +125 -73
- data/docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +108 -56
- data/docs/NgrokAPI/Models/EventDestination.html +178 -122
- data/docs/NgrokAPI/Models/EventSource.html +136 -80
- data/docs/NgrokAPI/Models/EventSourceList.html +112 -56
- data/docs/NgrokAPI/Models/EventSourceReplace.html +125 -73
- data/docs/NgrokAPI/Models/EventSubscription.html +178 -122
- data/docs/NgrokAPI/Models/EventTarget.html +206 -80
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +120 -68
- data/docs/NgrokAPI/Models/EventTargetDatadog.html +817 -0
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +120 -68
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +113 -61
- data/docs/NgrokAPI/Models/FailoverBackend.html +186 -130
- data/docs/NgrokAPI/Models/HTTPResponseBackend.html +202 -146
- data/docs/NgrokAPI/Models/HTTPSEdge.html +207 -151
- data/docs/NgrokAPI/Models/HTTPSEdgeRoute.html +272 -216
- data/docs/NgrokAPI/Models/IPPolicy.html +178 -122
- data/docs/NgrokAPI/Models/IPPolicyRule.html +201 -145
- data/docs/NgrokAPI/Models/IPRestriction.html +190 -134
- data/docs/NgrokAPI/Models/IdentityProvider.html +669 -0
- data/docs/NgrokAPI/Models/Listable.html +130 -130
- data/docs/NgrokAPI/Models/Location.html +817 -0
- data/docs/NgrokAPI/Models/Ref.html +119 -63
- data/docs/NgrokAPI/Models/ReservedAddr.html +189 -133
- data/docs/NgrokAPI/Models/ReservedDomain.html +231 -175
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +130 -78
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +120 -68
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +120 -68
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +197 -141
- data/docs/NgrokAPI/Models/SSHCredential.html +232 -102
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +226 -170
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +240 -184
- data/docs/NgrokAPI/Models/TCPEdge.html +204 -148
- data/docs/NgrokAPI/Models/TLSCertificate.html +279 -223
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +120 -68
- data/docs/NgrokAPI/Models/TLSEdge.html +216 -160
- data/docs/NgrokAPI/Models/Tunnel.html +205 -149
- data/docs/NgrokAPI/Models/TunnelGroupBackend.html +191 -135
- data/docs/NgrokAPI/Models/TunnelSession.html +193 -137
- data/docs/NgrokAPI/Models/UserAgent.html +965 -0
- data/docs/NgrokAPI/Models/WeightedBackend.html +186 -130
- data/docs/NgrokAPI/Models.html +6 -6
- data/docs/NgrokAPI/PagedIterator.html +53 -53
- data/docs/NgrokAPI/Services/APIKeysClient.html +302 -127
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +176 -39
- data/docs/NgrokAPI/Services/AgentIngressesClient.html +366 -133
- data/docs/NgrokAPI/Services/ApplicationSessionsClient.html +1131 -0
- data/docs/NgrokAPI/Services/ApplicationUsersClient.html +1131 -0
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +276 -123
- data/docs/NgrokAPI/Services/CredentialsClient.html +328 -133
- data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +319 -129
- data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +528 -113
- data/docs/NgrokAPI/Services/EdgesTCPClient.html +319 -129
- data/docs/NgrokAPI/Services/EdgesTLSClient.html +353 -133
- data/docs/NgrokAPI/Services/EndpointsClient.html +22 -26
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +302 -127
- data/docs/NgrokAPI/Services/EventSourcesClient.html +244 -105
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +302 -127
- data/docs/NgrokAPI/Services/FailoverBackendsClient.html +282 -127
- data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +322 -129
- data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +258 -123
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +317 -130
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +318 -127
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +278 -123
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +388 -171
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +318 -123
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +345 -132
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +354 -123
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +397 -126
- data/docs/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TLSCertificatesClient.html +296 -125
- data/docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +22 -26
- data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +282 -127
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +22 -26
- data/docs/NgrokAPI/Services/TunnelsClient.html +22 -26
- data/docs/NgrokAPI/Services/WeightedBackendsClient.html +285 -130
- data/docs/NgrokAPI/Services.html +6 -6
- data/docs/NgrokAPI.html +6 -6
- data/docs/_index.html +139 -8
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +55 -51
- data/docs/frames.html +1 -1
- data/docs/index.html +55 -51
- data/docs/method_list.html +4383 -2175
- data/docs/top-level-namespace.html +4 -4
- data/lib/ngrokapi/client.rb +21 -11
- data/lib/ngrokapi/error.rb +2 -0
- data/lib/ngrokapi/errors/not_found_error.rb +2 -0
- data/lib/ngrokapi/http_client.rb +153 -131
- data/lib/ngrokapi/models/abuse_report.rb +22 -12
- data/lib/ngrokapi/models/abuse_report_hostname.rb +13 -7
- data/lib/ngrokapi/models/agent_ingress.rb +33 -16
- data/lib/ngrokapi/models/agent_ingress_cert_job.rb +37 -0
- data/lib/ngrokapi/models/agent_ingress_cert_policy.rb +33 -0
- data/lib/ngrokapi/models/agent_ingress_cert_status.rb +33 -0
- data/lib/ngrokapi/models/api_key.rb +24 -12
- data/lib/ngrokapi/models/application_session.rb +67 -0
- data/lib/ngrokapi/models/application_user.rb +63 -0
- data/lib/ngrokapi/models/aws_auth.rb +13 -7
- data/lib/ngrokapi/models/aws_credentials.rb +13 -7
- data/lib/ngrokapi/models/aws_role.rb +12 -6
- data/lib/ngrokapi/models/browser_session.rb +35 -0
- data/lib/ngrokapi/models/certificate_authority.rb +26 -16
- data/lib/ngrokapi/models/credential.rb +25 -13
- data/lib/ngrokapi/models/endpoint.rb +28 -18
- data/lib/ngrokapi/models/endpoint_backend.rb +13 -7
- data/lib/ngrokapi/models/endpoint_backend_mutate.rb +13 -7
- data/lib/ngrokapi/models/endpoint_circuit_breaker.rb +17 -11
- data/lib/ngrokapi/models/endpoint_compression.rb +12 -6
- data/lib/ngrokapi/models/endpoint_ip_policy.rb +13 -7
- data/lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +13 -7
- data/lib/ngrokapi/models/endpoint_mutual_tls.rb +13 -7
- data/lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +13 -7
- data/lib/ngrokapi/models/endpoint_o_auth.rb +18 -12
- data/lib/ngrokapi/models/endpoint_o_auth_amazon.rb +39 -0
- data/lib/ngrokapi/models/endpoint_o_auth_facebook.rb +16 -10
- data/lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +18 -12
- data/lib/ngrokapi/models/endpoint_o_auth_git_lab.rb +39 -0
- data/lib/ngrokapi/models/endpoint_o_auth_google.rb +16 -10
- data/lib/ngrokapi/models/endpoint_o_auth_linked_in.rb +39 -0
- data/lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +16 -10
- data/lib/ngrokapi/models/endpoint_o_auth_provider.rb +24 -10
- data/lib/ngrokapi/models/endpoint_o_auth_twitch.rb +39 -0
- data/lib/ngrokapi/models/endpoint_oidc.rb +20 -14
- data/lib/ngrokapi/models/endpoint_request_headers.rb +14 -8
- data/lib/ngrokapi/models/endpoint_response_headers.rb +14 -8
- data/lib/ngrokapi/models/endpoint_saml.rb +37 -21
- data/lib/ngrokapi/models/endpoint_saml_mutate.rb +26 -16
- data/lib/ngrokapi/models/endpoint_tls_termination.rb +14 -8
- data/lib/ngrokapi/models/endpoint_tls_termination_at_edge.rb +13 -7
- data/lib/ngrokapi/models/endpoint_webhook_validation.rb +14 -8
- data/lib/ngrokapi/models/endpoint_websocket_tcp_converter.rb +12 -6
- data/lib/ngrokapi/models/event_destination.rb +22 -12
- data/lib/ngrokapi/models/event_source.rb +19 -9
- data/lib/ngrokapi/models/event_source_list.rb +17 -7
- data/lib/ngrokapi/models/event_source_replace.rb +14 -8
- data/lib/ngrokapi/models/event_subscription.rb +22 -12
- data/lib/ngrokapi/models/event_target.rb +18 -10
- data/lib/ngrokapi/models/event_target_cloudwatch_logs.rb +13 -7
- data/lib/ngrokapi/models/event_target_datadog.rb +37 -0
- data/lib/ngrokapi/models/event_target_firehose.rb +13 -7
- data/lib/ngrokapi/models/event_target_kinesis.rb +13 -7
- data/lib/ngrokapi/models/failover_backend.rb +22 -12
- data/lib/ngrokapi/models/http_response_backend.rb +23 -13
- data/lib/ngrokapi/models/https_edge.rb +24 -14
- data/lib/ngrokapi/models/https_edge_route.rb +34 -24
- data/lib/ngrokapi/models/identity_provider.rb +33 -0
- data/lib/ngrokapi/models/ip_policy.rb +21 -11
- data/lib/ngrokapi/models/ip_policy_rule.rb +23 -13
- data/lib/ngrokapi/models/ip_restriction.rb +23 -13
- data/lib/ngrokapi/models/listable.rb +55 -53
- data/lib/ngrokapi/models/location.rb +37 -0
- data/lib/ngrokapi/models/ref.rb +17 -7
- data/lib/ngrokapi/models/reserved_addr.rb +23 -13
- data/lib/ngrokapi/models/reserved_domain.rb +29 -19
- data/lib/ngrokapi/models/reserved_domain_cert_job.rb +15 -9
- data/lib/ngrokapi/models/reserved_domain_cert_policy.rb +13 -7
- data/lib/ngrokapi/models/reserved_domain_cert_status.rb +13 -7
- data/lib/ngrokapi/models/ssh_certificate_authority.rb +22 -12
- data/lib/ngrokapi/models/ssh_credential.rb +25 -13
- data/lib/ngrokapi/models/ssh_host_certificate.rb +27 -17
- data/lib/ngrokapi/models/ssh_user_certificate.rb +29 -19
- data/lib/ngrokapi/models/tcp_edge.rb +23 -13
- data/lib/ngrokapi/models/tls_certificate.rb +36 -26
- data/lib/ngrokapi/models/tls_certificate_sa_ns.rb +13 -7
- data/lib/ngrokapi/models/tls_edge.rb +25 -15
- data/lib/ngrokapi/models/tunnel.rb +26 -16
- data/lib/ngrokapi/models/tunnel_group_backend.rb +23 -13
- data/lib/ngrokapi/models/tunnel_session.rb +25 -15
- data/lib/ngrokapi/models/user_agent.rb +41 -0
- data/lib/ngrokapi/models/weighted_backend.rb +22 -12
- data/lib/ngrokapi/paged_iterator.rb +44 -42
- data/lib/ngrokapi/services/abuse_reports_client.rb +27 -3
- data/lib/ngrokapi/services/agent_ingresses_client.rb +45 -14
- data/lib/ngrokapi/services/api_keys_client.rb +37 -12
- data/lib/ngrokapi/services/application_sessions_client.rb +141 -0
- data/lib/ngrokapi/services/application_users_client.rb +141 -0
- data/lib/ngrokapi/services/certificate_authorities_client.rb +33 -11
- data/lib/ngrokapi/services/credentials_client.rb +45 -16
- data/lib/ngrokapi/services/edge_route_backend_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_circuit_breaker_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_compression_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_ip_restriction_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_o_auth_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_oidc_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_request_headers_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_response_headers_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_saml_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_webhook_verification_module_client.rb +8 -8
- data/lib/ngrokapi/services/edge_route_websocket_tcp_converter_module_client.rb +8 -8
- data/lib/ngrokapi/services/edges_https_client.rb +37 -11
- data/lib/ngrokapi/services/edges_https_routes_client.rb +55 -5
- data/lib/ngrokapi/services/edges_tcp_client.rb +37 -11
- data/lib/ngrokapi/services/edges_tls_client.rb +41 -11
- data/lib/ngrokapi/services/endpoints_client.rb +8 -8
- data/lib/ngrokapi/services/event_destinations_client.rb +37 -13
- data/lib/ngrokapi/services/event_sources_client.rb +29 -7
- data/lib/ngrokapi/services/event_subscriptions_client.rb +35 -11
- data/lib/ngrokapi/services/failover_backends_client.rb +35 -13
- data/lib/ngrokapi/services/http_response_backends_client.rb +34 -11
- data/lib/ngrokapi/services/https_edge_mutual_tls_module_client.rb +8 -8
- data/lib/ngrokapi/services/https_edge_tls_termination_module_client.rb +8 -8
- data/lib/ngrokapi/services/ip_policies_client.rb +32 -11
- data/lib/ngrokapi/services/ip_policy_rules_client.rb +38 -12
- data/lib/ngrokapi/services/ip_restrictions_client.rb +37 -11
- data/lib/ngrokapi/services/reserved_addrs_client.rb +33 -11
- data/lib/ngrokapi/services/reserved_domains_client.rb +44 -16
- data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +37 -11
- data/lib/ngrokapi/services/ssh_credentials_client.rb +44 -15
- data/lib/ngrokapi/services/ssh_host_certificates_client.rb +41 -11
- data/lib/ngrokapi/services/ssh_user_certificates_client.rb +48 -14
- data/lib/ngrokapi/services/tcp_edge_backend_module_client.rb +8 -8
- data/lib/ngrokapi/services/tcp_edge_ip_restriction_module_client.rb +8 -8
- data/lib/ngrokapi/services/tls_certificates_client.rb +37 -13
- data/lib/ngrokapi/services/tls_edge_backend_module_client.rb +8 -8
- data/lib/ngrokapi/services/tls_edge_ip_restriction_module_client.rb +8 -8
- data/lib/ngrokapi/services/tls_edge_mutual_tls_module_client.rb +8 -8
- data/lib/ngrokapi/services/tls_edge_tls_termination_module_client.rb +8 -8
- data/lib/ngrokapi/services/tunnel_group_backends_client.rb +35 -13
- data/lib/ngrokapi/services/tunnel_sessions_client.rb +8 -8
- data/lib/ngrokapi/services/tunnels_client.rb +8 -8
- data/lib/ngrokapi/services/weighted_backends_client.rb +38 -16
- data/lib/ngrokapi/version.rb +9 -7
- data/lib/ngrokapi.rb +15 -13
- data/ngrok-api.gemspec +29 -27
- data/spec/ngrokapi/client_spec.rb +20 -6
- data/spec/ngrokapi/http_client_spec.rb +77 -75
- data/spec/ngrokapi/models/abuse_report_hostname_spec.rb +4 -2
- data/spec/ngrokapi/models/abuse_report_spec.rb +4 -2
- data/spec/ngrokapi/models/agent_ingress_cert_job_spec.rb +23 -0
- data/spec/ngrokapi/models/agent_ingress_cert_policy_spec.rb +23 -0
- data/spec/ngrokapi/models/agent_ingress_cert_status_spec.rb +23 -0
- data/spec/ngrokapi/models/agent_ingress_spec.rb +8 -3
- data/spec/ngrokapi/models/api_key_spec.rb +4 -2
- data/spec/ngrokapi/models/application_session_spec.rb +30 -0
- data/spec/ngrokapi/models/application_user_spec.rb +30 -0
- data/spec/ngrokapi/models/aws_auth_spec.rb +4 -2
- data/spec/ngrokapi/models/aws_credentials_spec.rb +4 -2
- data/spec/ngrokapi/models/aws_role_spec.rb +4 -2
- data/spec/ngrokapi/models/browser_session_spec.rb +23 -0
- data/spec/ngrokapi/models/certificate_authority_spec.rb +4 -2
- data/spec/ngrokapi/models/credential_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_backend_mutate_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_backend_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_circuit_breaker_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_compression_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_ip_policy_mutate_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_ip_policy_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_mutual_tls_mutate_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_mutual_tls_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_amazon_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_o_auth_facebook_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_git_lab_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_o_auth_google_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_linked_in_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_o_auth_microsoft_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_provider_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_o_auth_twitch_spec.rb +23 -0
- data/spec/ngrokapi/models/endpoint_oidc_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_request_headers_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_response_headers_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_saml_mutate_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_saml_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_tls_termination_at_edge_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_tls_termination_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_webhook_validation_spec.rb +4 -2
- data/spec/ngrokapi/models/endpoint_websocket_tcp_converter_spec.rb +4 -2
- data/spec/ngrokapi/models/event_destination_spec.rb +4 -2
- data/spec/ngrokapi/models/event_source_list_spec.rb +4 -2
- data/spec/ngrokapi/models/event_source_replace_spec.rb +4 -2
- data/spec/ngrokapi/models/event_source_spec.rb +4 -2
- data/spec/ngrokapi/models/event_subscription_spec.rb +4 -2
- data/spec/ngrokapi/models/event_target_cloudwatch_logs_spec.rb +4 -2
- data/spec/ngrokapi/models/event_target_datadog_spec.rb +23 -0
- data/spec/ngrokapi/models/event_target_firehose_spec.rb +4 -2
- data/spec/ngrokapi/models/event_target_kinesis_spec.rb +4 -2
- data/spec/ngrokapi/models/event_target_spec.rb +4 -2
- data/spec/ngrokapi/models/failover_backend_spec.rb +4 -2
- data/spec/ngrokapi/models/http_response_backend_spec.rb +4 -2
- data/spec/ngrokapi/models/https_edge_route_spec.rb +4 -2
- data/spec/ngrokapi/models/https_edge_spec.rb +4 -2
- data/spec/ngrokapi/models/identity_provider_spec.rb +23 -0
- data/spec/ngrokapi/models/ip_policy_rule_spec.rb +4 -2
- data/spec/ngrokapi/models/ip_policy_spec.rb +4 -2
- data/spec/ngrokapi/models/ip_restriction_spec.rb +4 -2
- data/spec/ngrokapi/models/listable_spec.rb +45 -43
- data/spec/ngrokapi/models/location_spec.rb +23 -0
- data/spec/ngrokapi/models/ref_spec.rb +4 -2
- data/spec/ngrokapi/models/reserved_addr_spec.rb +4 -2
- data/spec/ngrokapi/models/reserved_domain_cert_job_spec.rb +4 -2
- data/spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb +4 -2
- data/spec/ngrokapi/models/reserved_domain_cert_status_spec.rb +4 -2
- data/spec/ngrokapi/models/reserved_domain_spec.rb +4 -2
- data/spec/ngrokapi/models/ssh_certificate_authority_spec.rb +4 -2
- data/spec/ngrokapi/models/ssh_credential_spec.rb +4 -2
- data/spec/ngrokapi/models/ssh_host_certificate_spec.rb +4 -2
- data/spec/ngrokapi/models/ssh_user_certificate_spec.rb +4 -2
- data/spec/ngrokapi/models/tcp_edge_spec.rb +4 -2
- data/spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb +4 -2
- data/spec/ngrokapi/models/tls_certificate_spec.rb +4 -2
- data/spec/ngrokapi/models/tls_edge_spec.rb +4 -2
- data/spec/ngrokapi/models/tunnel_group_backend_spec.rb +4 -2
- data/spec/ngrokapi/models/tunnel_session_spec.rb +4 -2
- data/spec/ngrokapi/models/tunnel_spec.rb +4 -2
- data/spec/ngrokapi/models/user_agent_spec.rb +23 -0
- data/spec/ngrokapi/models/weighted_backend_spec.rb +4 -2
- data/spec/ngrokapi/paged_iterator_spec.rb +86 -84
- data/spec/ngrokapi/services/abuse_reports_client_spec.rb +21 -0
- data/spec/ngrokapi/services/agent_ingresses_client_spec.rb +34 -3
- data/spec/ngrokapi/services/api_keys_client_spec.rb +28 -1
- data/spec/ngrokapi/services/application_sessions_client_spec.rb +100 -0
- data/spec/ngrokapi/services/application_users_client_spec.rb +100 -0
- data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +23 -0
- data/spec/ngrokapi/services/credentials_client_spec.rb +30 -1
- data/spec/ngrokapi/services/edge_route_backend_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_circuit_breaker_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_compression_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_ip_restriction_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_o_auth_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_oidc_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_request_headers_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_response_headers_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_saml_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_webhook_verification_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edge_route_websocket_tcp_converter_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/edges_https_client_spec.rb +27 -0
- data/spec/ngrokapi/services/edges_https_routes_client_spec.rb +49 -0
- data/spec/ngrokapi/services/edges_tcp_client_spec.rb +27 -0
- data/spec/ngrokapi/services/edges_tls_client_spec.rb +31 -0
- data/spec/ngrokapi/services/endpoints_client_spec.rb +2 -0
- data/spec/ngrokapi/services/event_destinations_client_spec.rb +26 -0
- data/spec/ngrokapi/services/event_sources_client_spec.rb +23 -0
- data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +25 -0
- data/spec/ngrokapi/services/failover_backends_client_spec.rb +23 -0
- data/spec/ngrokapi/services/http_response_backends_client_spec.rb +27 -0
- data/spec/ngrokapi/services/https_edge_mutual_tls_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/https_edge_tls_termination_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/ip_policies_client_spec.rb +22 -0
- data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +27 -0
- data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +27 -0
- data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +24 -0
- data/spec/ngrokapi/services/reserved_domains_client_spec.rb +38 -3
- data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +27 -0
- data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +32 -1
- data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +31 -0
- data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +35 -0
- data/spec/ngrokapi/services/tcp_edge_backend_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tcp_edge_ip_restriction_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tls_certificates_client_spec.rb +25 -0
- data/spec/ngrokapi/services/tls_edge_backend_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tls_edge_ip_restriction_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tls_edge_mutual_tls_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tls_edge_tls_termination_module_client_spec.rb +4 -4
- data/spec/ngrokapi/services/tunnel_group_backends_client_spec.rb +23 -0
- data/spec/ngrokapi/services/tunnel_sessions_client_spec.rb +2 -0
- data/spec/ngrokapi/services/tunnels_client_spec.rb +2 -0
- data/spec/ngrokapi/services/weighted_backends_client_spec.rb +23 -0
- data/spec/spec_helper.rb +94 -2
- metadata +68 -4
- data/doc/README +0 -94
- data/docs/README +0 -94
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: NgrokAPI::Models::WeightedBackend
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -109,7 +109,7 @@
|
|
109
109
|
<li class="public ">
|
110
110
|
<span class="summary_signature">
|
111
111
|
|
112
|
-
<a href="#
|
112
|
+
<a href="#attrs-instance_method" title="#attrs (instance method)">#<strong>attrs</strong> ⇒ Object </a>
|
113
113
|
|
114
114
|
|
115
115
|
|
@@ -129,7 +129,7 @@
|
|
129
129
|
|
130
130
|
|
131
131
|
<span class="summary_desc"><div class='inline'>
|
132
|
-
<p>Returns the value of attribute
|
132
|
+
<p>Returns the value of attribute attrs.</p>
|
133
133
|
</div></span>
|
134
134
|
|
135
135
|
</li>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
<li class="public ">
|
139
139
|
<span class="summary_signature">
|
140
140
|
|
141
|
-
<a href="#
|
141
|
+
<a href="#backends-instance_method" title="#backends (instance method)">#<strong>backends</strong> ⇒ Object </a>
|
142
142
|
|
143
143
|
|
144
144
|
|
@@ -158,7 +158,7 @@
|
|
158
158
|
|
159
159
|
|
160
160
|
<span class="summary_desc"><div class='inline'>
|
161
|
-
<p>Returns the value of attribute
|
161
|
+
<p>Returns the value of attribute backends.</p>
|
162
162
|
</div></span>
|
163
163
|
|
164
164
|
</li>
|
@@ -167,7 +167,7 @@
|
|
167
167
|
<li class="public ">
|
168
168
|
<span class="summary_signature">
|
169
169
|
|
170
|
-
<a href="#
|
170
|
+
<a href="#client-instance_method" title="#client (instance method)">#<strong>client</strong> ⇒ Object </a>
|
171
171
|
|
172
172
|
|
173
173
|
|
@@ -187,7 +187,7 @@
|
|
187
187
|
|
188
188
|
|
189
189
|
<span class="summary_desc"><div class='inline'>
|
190
|
-
<p>Returns the value of attribute
|
190
|
+
<p>Returns the value of attribute client.</p>
|
191
191
|
</div></span>
|
192
192
|
|
193
193
|
</li>
|
@@ -196,7 +196,7 @@
|
|
196
196
|
<li class="public ">
|
197
197
|
<span class="summary_signature">
|
198
198
|
|
199
|
-
<a href="#
|
199
|
+
<a href="#created_at-instance_method" title="#created_at (instance method)">#<strong>created_at</strong> ⇒ Object </a>
|
200
200
|
|
201
201
|
|
202
202
|
|
@@ -216,7 +216,7 @@
|
|
216
216
|
|
217
217
|
|
218
218
|
<span class="summary_desc"><div class='inline'>
|
219
|
-
<p>Returns the value of attribute
|
219
|
+
<p>Returns the value of attribute created_at.</p>
|
220
220
|
</div></span>
|
221
221
|
|
222
222
|
</li>
|
@@ -225,7 +225,7 @@
|
|
225
225
|
<li class="public ">
|
226
226
|
<span class="summary_signature">
|
227
227
|
|
228
|
-
<a href="#
|
228
|
+
<a href="#description-instance_method" title="#description (instance method)">#<strong>description</strong> ⇒ Object </a>
|
229
229
|
|
230
230
|
|
231
231
|
|
@@ -245,7 +245,7 @@
|
|
245
245
|
|
246
246
|
|
247
247
|
<span class="summary_desc"><div class='inline'>
|
248
|
-
<p>Returns the value of attribute
|
248
|
+
<p>Returns the value of attribute description.</p>
|
249
249
|
</div></span>
|
250
250
|
|
251
251
|
</li>
|
@@ -254,7 +254,7 @@
|
|
254
254
|
<li class="public ">
|
255
255
|
<span class="summary_signature">
|
256
256
|
|
257
|
-
<a href="#
|
257
|
+
<a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong> ⇒ Object </a>
|
258
258
|
|
259
259
|
|
260
260
|
|
@@ -274,7 +274,7 @@
|
|
274
274
|
|
275
275
|
|
276
276
|
<span class="summary_desc"><div class='inline'>
|
277
|
-
<p>Returns the value of attribute
|
277
|
+
<p>Returns the value of attribute id.</p>
|
278
278
|
</div></span>
|
279
279
|
|
280
280
|
</li>
|
@@ -283,7 +283,7 @@
|
|
283
283
|
<li class="public ">
|
284
284
|
<span class="summary_signature">
|
285
285
|
|
286
|
-
<a href="#
|
286
|
+
<a href="#metadata-instance_method" title="#metadata (instance method)">#<strong>metadata</strong> ⇒ Object </a>
|
287
287
|
|
288
288
|
|
289
289
|
|
@@ -303,7 +303,7 @@
|
|
303
303
|
|
304
304
|
|
305
305
|
<span class="summary_desc"><div class='inline'>
|
306
|
-
<p>Returns the value of attribute
|
306
|
+
<p>Returns the value of attribute metadata.</p>
|
307
307
|
</div></span>
|
308
308
|
|
309
309
|
</li>
|
@@ -400,7 +400,7 @@
|
|
400
400
|
<li class="public ">
|
401
401
|
<span class="summary_signature">
|
402
402
|
|
403
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client
|
403
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client: nil, attrs: {}) ⇒ WeightedBackend </a>
|
404
404
|
|
405
405
|
|
406
406
|
|
@@ -420,6 +420,28 @@
|
|
420
420
|
<p>A new instance of WeightedBackend.</p>
|
421
421
|
</div></span>
|
422
422
|
|
423
|
+
</li>
|
424
|
+
|
425
|
+
|
426
|
+
<li class="public ">
|
427
|
+
<span class="summary_signature">
|
428
|
+
|
429
|
+
<a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> ⇒ Object </a>
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
</span>
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
444
|
+
|
423
445
|
</li>
|
424
446
|
|
425
447
|
|
@@ -478,7 +500,7 @@
|
|
478
500
|
<div class="method_details first">
|
479
501
|
<h3 class="signature first" id="initialize-instance_method">
|
480
502
|
|
481
|
-
#<strong>initialize</strong>(client
|
503
|
+
#<strong>initialize</strong>(client: nil, attrs: {}) ⇒ <tt><span class='object_link'><a href="" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></tt>
|
482
504
|
|
483
505
|
|
484
506
|
|
@@ -501,29 +523,33 @@
|
|
501
523
|
<pre class="lines">
|
502
524
|
|
503
525
|
|
504
|
-
15
|
505
|
-
16
|
506
|
-
17
|
507
|
-
18
|
508
526
|
19
|
509
527
|
20
|
510
528
|
21
|
511
529
|
22
|
512
530
|
23
|
513
|
-
24
|
531
|
+
24
|
532
|
+
25
|
533
|
+
26
|
534
|
+
27
|
535
|
+
28
|
536
|
+
29
|
537
|
+
30</pre>
|
514
538
|
</td>
|
515
539
|
<td>
|
516
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
540
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 19</span>
|
517
541
|
|
518
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span><span class='comma'>,</span> <span class='label'>
|
542
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
519
543
|
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
520
|
-
<span class='ivar'>@
|
521
|
-
<span class='ivar'>@id</span> <span class='op'>=</span> <span class='ivar'>@
|
522
|
-
<span class='
|
523
|
-
|
524
|
-
<span class='
|
525
|
-
<span class='ivar'>@
|
526
|
-
<span class='ivar'>@
|
544
|
+
<span class='ivar'>@attrs</span> <span class='op'>=</span> <span class='id identifier rubyid_attrs'>attrs</span>
|
545
|
+
<span class='ivar'>@id</span> <span class='op'>=</span> <span class='ivar'>@attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>id</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
546
|
+
<span class='kw'>unless</span> <span class='ivar'>@attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>uri</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
547
|
+
<span class='ivar'>@uri</span> <span class='op'>=</span> <span class='const'>URI</span><span class='lparen'>(</span><span class='ivar'>@attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>uri</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
548
|
+
<span class='kw'>end</span>
|
549
|
+
<span class='ivar'>@created_at</span> <span class='op'>=</span> <span class='ivar'>@attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>created_at</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
550
|
+
<span class='ivar'>@description</span> <span class='op'>=</span> <span class='ivar'>@attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>description</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
551
|
+
<span class='ivar'>@metadata</span> <span class='op'>=</span> <span class='ivar'>@attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>metadata</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
552
|
+
<span class='ivar'>@backends</span> <span class='op'>=</span> <span class='ivar'>@attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>backends</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span>
|
527
553
|
<span class='kw'>end</span></pre>
|
528
554
|
</td>
|
529
555
|
</tr>
|
@@ -538,9 +564,9 @@
|
|
538
564
|
|
539
565
|
<span id=""></span>
|
540
566
|
<div class="method_details first">
|
541
|
-
<h3 class="signature first" id="
|
567
|
+
<h3 class="signature first" id="attrs-instance_method">
|
542
568
|
|
543
|
-
#<strong>
|
569
|
+
#<strong>attrs</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
544
570
|
|
545
571
|
|
546
572
|
|
@@ -549,7 +575,7 @@
|
|
549
575
|
</h3><div class="docstring">
|
550
576
|
<div class="discussion">
|
551
577
|
|
552
|
-
<p>Returns the value of attribute
|
578
|
+
<p>Returns the value of attribute attrs.</p>
|
553
579
|
|
554
580
|
|
555
581
|
</div>
|
@@ -563,15 +589,15 @@
|
|
563
589
|
<pre class="lines">
|
564
590
|
|
565
591
|
|
566
|
-
|
567
|
-
|
568
|
-
|
592
|
+
10
|
593
|
+
11
|
594
|
+
12</pre>
|
569
595
|
</td>
|
570
596
|
<td>
|
571
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
597
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 10</span>
|
572
598
|
|
573
|
-
<span class='kw'>def</span> <span class='id identifier
|
574
|
-
<span class='ivar'>@
|
599
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_attrs'>attrs</span>
|
600
|
+
<span class='ivar'>@attrs</span>
|
575
601
|
<span class='kw'>end</span></pre>
|
576
602
|
</td>
|
577
603
|
</tr>
|
@@ -581,9 +607,9 @@
|
|
581
607
|
|
582
608
|
<span id=""></span>
|
583
609
|
<div class="method_details ">
|
584
|
-
<h3 class="signature " id="
|
610
|
+
<h3 class="signature " id="backends-instance_method">
|
585
611
|
|
586
|
-
#<strong>
|
612
|
+
#<strong>backends</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
587
613
|
|
588
614
|
|
589
615
|
|
@@ -592,7 +618,7 @@
|
|
592
618
|
</h3><div class="docstring">
|
593
619
|
<div class="discussion">
|
594
620
|
|
595
|
-
<p>Returns the value of attribute
|
621
|
+
<p>Returns the value of attribute backends.</p>
|
596
622
|
|
597
623
|
|
598
624
|
</div>
|
@@ -606,15 +632,15 @@
|
|
606
632
|
<pre class="lines">
|
607
633
|
|
608
634
|
|
609
|
-
|
610
|
-
|
611
|
-
|
635
|
+
10
|
636
|
+
11
|
637
|
+
12</pre>
|
612
638
|
</td>
|
613
639
|
<td>
|
614
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
640
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 10</span>
|
615
641
|
|
616
|
-
<span class='kw'>def</span> <span class='id identifier
|
617
|
-
<span class='ivar'>@
|
642
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_backends'>backends</span>
|
643
|
+
<span class='ivar'>@backends</span>
|
618
644
|
<span class='kw'>end</span></pre>
|
619
645
|
</td>
|
620
646
|
</tr>
|
@@ -624,9 +650,9 @@
|
|
624
650
|
|
625
651
|
<span id=""></span>
|
626
652
|
<div class="method_details ">
|
627
|
-
<h3 class="signature " id="
|
653
|
+
<h3 class="signature " id="client-instance_method">
|
628
654
|
|
629
|
-
#<strong>
|
655
|
+
#<strong>client</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
630
656
|
|
631
657
|
|
632
658
|
|
@@ -635,7 +661,7 @@
|
|
635
661
|
</h3><div class="docstring">
|
636
662
|
<div class="discussion">
|
637
663
|
|
638
|
-
<p>Returns the value of attribute
|
664
|
+
<p>Returns the value of attribute client.</p>
|
639
665
|
|
640
666
|
|
641
667
|
</div>
|
@@ -649,15 +675,15 @@
|
|
649
675
|
<pre class="lines">
|
650
676
|
|
651
677
|
|
652
|
-
|
653
|
-
|
654
|
-
|
678
|
+
10
|
679
|
+
11
|
680
|
+
12</pre>
|
655
681
|
</td>
|
656
682
|
<td>
|
657
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
683
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 10</span>
|
658
684
|
|
659
|
-
<span class='kw'>def</span> <span class='id identifier
|
660
|
-
<span class='ivar'>@
|
685
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
|
686
|
+
<span class='ivar'>@client</span>
|
661
687
|
<span class='kw'>end</span></pre>
|
662
688
|
</td>
|
663
689
|
</tr>
|
@@ -667,9 +693,9 @@
|
|
667
693
|
|
668
694
|
<span id=""></span>
|
669
695
|
<div class="method_details ">
|
670
|
-
<h3 class="signature " id="
|
696
|
+
<h3 class="signature " id="created_at-instance_method">
|
671
697
|
|
672
|
-
#<strong>
|
698
|
+
#<strong>created_at</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
673
699
|
|
674
700
|
|
675
701
|
|
@@ -678,7 +704,7 @@
|
|
678
704
|
</h3><div class="docstring">
|
679
705
|
<div class="discussion">
|
680
706
|
|
681
|
-
<p>Returns the value of attribute
|
707
|
+
<p>Returns the value of attribute created_at.</p>
|
682
708
|
|
683
709
|
|
684
710
|
</div>
|
@@ -692,15 +718,15 @@
|
|
692
718
|
<pre class="lines">
|
693
719
|
|
694
720
|
|
695
|
-
|
696
|
-
|
697
|
-
|
721
|
+
10
|
722
|
+
11
|
723
|
+
12</pre>
|
698
724
|
</td>
|
699
725
|
<td>
|
700
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
726
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 10</span>
|
701
727
|
|
702
|
-
<span class='kw'>def</span> <span class='id identifier
|
703
|
-
<span class='ivar'>@
|
728
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_created_at'>created_at</span>
|
729
|
+
<span class='ivar'>@created_at</span>
|
704
730
|
<span class='kw'>end</span></pre>
|
705
731
|
</td>
|
706
732
|
</tr>
|
@@ -710,9 +736,9 @@
|
|
710
736
|
|
711
737
|
<span id=""></span>
|
712
738
|
<div class="method_details ">
|
713
|
-
<h3 class="signature " id="
|
739
|
+
<h3 class="signature " id="description-instance_method">
|
714
740
|
|
715
|
-
#<strong>
|
741
|
+
#<strong>description</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
716
742
|
|
717
743
|
|
718
744
|
|
@@ -721,7 +747,7 @@
|
|
721
747
|
</h3><div class="docstring">
|
722
748
|
<div class="discussion">
|
723
749
|
|
724
|
-
<p>Returns the value of attribute
|
750
|
+
<p>Returns the value of attribute description.</p>
|
725
751
|
|
726
752
|
|
727
753
|
</div>
|
@@ -735,15 +761,15 @@
|
|
735
761
|
<pre class="lines">
|
736
762
|
|
737
763
|
|
738
|
-
|
739
|
-
|
740
|
-
|
764
|
+
10
|
765
|
+
11
|
766
|
+
12</pre>
|
741
767
|
</td>
|
742
768
|
<td>
|
743
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
769
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 10</span>
|
744
770
|
|
745
|
-
<span class='kw'>def</span> <span class='id identifier
|
746
|
-
<span class='ivar'>@
|
771
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
|
772
|
+
<span class='ivar'>@description</span>
|
747
773
|
<span class='kw'>end</span></pre>
|
748
774
|
</td>
|
749
775
|
</tr>
|
@@ -753,9 +779,9 @@
|
|
753
779
|
|
754
780
|
<span id=""></span>
|
755
781
|
<div class="method_details ">
|
756
|
-
<h3 class="signature " id="
|
782
|
+
<h3 class="signature " id="id-instance_method">
|
757
783
|
|
758
|
-
#<strong>
|
784
|
+
#<strong>id</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
759
785
|
|
760
786
|
|
761
787
|
|
@@ -764,7 +790,7 @@
|
|
764
790
|
</h3><div class="docstring">
|
765
791
|
<div class="discussion">
|
766
792
|
|
767
|
-
<p>Returns the value of attribute
|
793
|
+
<p>Returns the value of attribute id.</p>
|
768
794
|
|
769
795
|
|
770
796
|
</div>
|
@@ -778,15 +804,15 @@
|
|
778
804
|
<pre class="lines">
|
779
805
|
|
780
806
|
|
781
|
-
|
782
|
-
|
783
|
-
|
807
|
+
10
|
808
|
+
11
|
809
|
+
12</pre>
|
784
810
|
</td>
|
785
811
|
<td>
|
786
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
812
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 10</span>
|
787
813
|
|
788
|
-
<span class='kw'>def</span> <span class='id identifier
|
789
|
-
<span class='ivar'>@
|
814
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
|
815
|
+
<span class='ivar'>@id</span>
|
790
816
|
<span class='kw'>end</span></pre>
|
791
817
|
</td>
|
792
818
|
</tr>
|
@@ -796,9 +822,9 @@
|
|
796
822
|
|
797
823
|
<span id=""></span>
|
798
824
|
<div class="method_details ">
|
799
|
-
<h3 class="signature " id="
|
825
|
+
<h3 class="signature " id="metadata-instance_method">
|
800
826
|
|
801
|
-
#<strong>
|
827
|
+
#<strong>metadata</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
802
828
|
|
803
829
|
|
804
830
|
|
@@ -807,7 +833,7 @@
|
|
807
833
|
</h3><div class="docstring">
|
808
834
|
<div class="discussion">
|
809
835
|
|
810
|
-
<p>Returns the value of attribute
|
836
|
+
<p>Returns the value of attribute metadata.</p>
|
811
837
|
|
812
838
|
|
813
839
|
</div>
|
@@ -821,15 +847,15 @@
|
|
821
847
|
<pre class="lines">
|
822
848
|
|
823
849
|
|
824
|
-
|
825
|
-
|
826
|
-
|
850
|
+
10
|
851
|
+
11
|
852
|
+
12</pre>
|
827
853
|
</td>
|
828
854
|
<td>
|
829
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
855
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 10</span>
|
830
856
|
|
831
|
-
<span class='kw'>def</span> <span class='id identifier
|
832
|
-
<span class='ivar'>@
|
857
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_metadata'>metadata</span>
|
858
|
+
<span class='ivar'>@metadata</span>
|
833
859
|
<span class='kw'>end</span></pre>
|
834
860
|
</td>
|
835
861
|
</tr>
|
@@ -864,12 +890,12 @@
|
|
864
890
|
<pre class="lines">
|
865
891
|
|
866
892
|
|
867
|
-
|
868
|
-
|
869
|
-
|
893
|
+
10
|
894
|
+
11
|
895
|
+
12</pre>
|
870
896
|
</td>
|
871
897
|
<td>
|
872
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
898
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 10</span>
|
873
899
|
|
874
900
|
<span class='kw'>def</span> <span class='id identifier rubyid_uri'>uri</span>
|
875
901
|
<span class='ivar'>@uri</span>
|
@@ -901,15 +927,15 @@
|
|
901
927
|
<pre class="lines">
|
902
928
|
|
903
929
|
|
904
|
-
|
905
|
-
|
906
|
-
|
930
|
+
32
|
931
|
+
33
|
932
|
+
34</pre>
|
907
933
|
</td>
|
908
934
|
<td>
|
909
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
935
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 32</span>
|
910
936
|
|
911
937
|
<span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
912
|
-
<span class='ivar'>@
|
938
|
+
<span class='ivar'>@attrs</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_attrs'>attrs</span>
|
913
939
|
<span class='kw'>end</span></pre>
|
914
940
|
</td>
|
915
941
|
</tr>
|
@@ -928,7 +954,7 @@
|
|
928
954
|
</h3><div class="docstring">
|
929
955
|
<div class="discussion">
|
930
956
|
|
931
|
-
<p>Delete a Weighted backend by ID
|
957
|
+
<p>Delete a Weighted backend by ID.</p>
|
932
958
|
|
933
959
|
<p><a href="https://ngrok.com/docs/api#api-weighted-backends-delete">ngrok.com/docs/api#api-weighted-backends-delete</a></p>
|
934
960
|
|
@@ -944,14 +970,14 @@
|
|
944
970
|
<pre class="lines">
|
945
971
|
|
946
972
|
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
973
|
+
48
|
974
|
+
49
|
975
|
+
50
|
976
|
+
51
|
977
|
+
52</pre>
|
952
978
|
</td>
|
953
979
|
<td>
|
954
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
980
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 48</span>
|
955
981
|
|
956
982
|
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span>
|
957
983
|
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span>
|
@@ -961,6 +987,36 @@
|
|
961
987
|
</td>
|
962
988
|
</tr>
|
963
989
|
</table>
|
990
|
+
</div>
|
991
|
+
|
992
|
+
<div class="method_details ">
|
993
|
+
<h3 class="signature " id="to_h-instance_method">
|
994
|
+
|
995
|
+
#<strong>to_h</strong> ⇒ <tt>Object</tt>
|
996
|
+
|
997
|
+
|
998
|
+
|
999
|
+
|
1000
|
+
|
1001
|
+
</h3><table class="source_code">
|
1002
|
+
<tr>
|
1003
|
+
<td>
|
1004
|
+
<pre class="lines">
|
1005
|
+
|
1006
|
+
|
1007
|
+
40
|
1008
|
+
41
|
1009
|
+
42</pre>
|
1010
|
+
</td>
|
1011
|
+
<td>
|
1012
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 40</span>
|
1013
|
+
|
1014
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
|
1015
|
+
<span class='ivar'>@attrs</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span>
|
1016
|
+
<span class='kw'>end</span></pre>
|
1017
|
+
</td>
|
1018
|
+
</tr>
|
1019
|
+
</table>
|
964
1020
|
</div>
|
965
1021
|
|
966
1022
|
<div class="method_details ">
|
@@ -978,15 +1034,15 @@
|
|
978
1034
|
<pre class="lines">
|
979
1035
|
|
980
1036
|
|
981
|
-
|
982
|
-
|
983
|
-
|
1037
|
+
36
|
1038
|
+
37
|
1039
|
+
38</pre>
|
984
1040
|
</td>
|
985
1041
|
<td>
|
986
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
1042
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 36</span>
|
987
1043
|
|
988
1044
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
989
|
-
<span class='ivar'>@
|
1045
|
+
<span class='ivar'>@attrs</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span>
|
990
1046
|
<span class='kw'>end</span></pre>
|
991
1047
|
</td>
|
992
1048
|
</tr>
|
@@ -1021,24 +1077,24 @@
|
|
1021
1077
|
<pre class="lines">
|
1022
1078
|
|
1023
1079
|
|
1024
|
-
48
|
1025
|
-
49
|
1026
|
-
50
|
1027
|
-
51
|
1028
|
-
52
|
1029
|
-
53
|
1030
|
-
54
|
1031
|
-
55
|
1032
|
-
56
|
1033
|
-
57
|
1034
1080
|
58
|
1035
1081
|
59
|
1036
1082
|
60
|
1037
1083
|
61
|
1038
|
-
62
|
1084
|
+
62
|
1085
|
+
63
|
1086
|
+
64
|
1087
|
+
65
|
1088
|
+
66
|
1089
|
+
67
|
1090
|
+
68
|
1091
|
+
69
|
1092
|
+
70
|
1093
|
+
71
|
1094
|
+
72</pre>
|
1039
1095
|
</td>
|
1040
1096
|
<td>
|
1041
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line
|
1097
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/models/weighted_backend.rb', line 58</span>
|
1042
1098
|
|
1043
1099
|
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span>
|
1044
1100
|
<span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
@@ -1065,9 +1121,9 @@
|
|
1065
1121
|
</div>
|
1066
1122
|
|
1067
1123
|
<div id="footer">
|
1068
|
-
Generated on Thu
|
1069
|
-
<a href="
|
1070
|
-
0.9.
|
1124
|
+
Generated on Thu Aug 24 20:57:29 2023 by
|
1125
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1126
|
+
0.9.34 (ruby-3.0.6).
|
1071
1127
|
</div>
|
1072
1128
|
|
1073
1129
|
</div>
|