ngrok-api 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -1
- data/doc/NgrokAPI/Client.html +1 -1
- data/doc/NgrokAPI/Error.html +1 -1
- data/doc/NgrokAPI/Errors/NotFoundError.html +1 -1
- data/doc/NgrokAPI/Errors.html +1 -1
- data/doc/NgrokAPI/HttpClient.html +146 -3
- data/doc/NgrokAPI/Models/APIKey.html +119 -67
- data/doc/NgrokAPI/Models/AWSAuth.html +82 -30
- data/doc/NgrokAPI/Models/AWSCredentials.html +89 -37
- data/doc/NgrokAPI/Models/AWSRole.html +74 -22
- data/doc/NgrokAPI/Models/AbuseReport.html +108 -56
- data/doc/NgrokAPI/Models/AbuseReportHostname.html +82 -30
- data/doc/NgrokAPI/Models/AgentIngress.html +141 -89
- data/doc/NgrokAPI/Models/CertificateAuthority.html +148 -96
- data/doc/NgrokAPI/Models/Credential.html +120 -68
- data/doc/NgrokAPI/Models/Endpoint.html +138 -86
- data/doc/NgrokAPI/Models/EndpointBackend.html +89 -37
- data/doc/NgrokAPI/Models/EndpointBackendMutate.html +89 -37
- data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +100 -48
- data/doc/NgrokAPI/Models/EndpointCompression.html +81 -29
- data/doc/NgrokAPI/Models/EndpointIPPolicy.html +89 -37
- data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +89 -37
- data/doc/NgrokAPI/Models/EndpointMutualTLS.html +89 -37
- data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +89 -37
- data/doc/NgrokAPI/Models/EndpointOAuth.html +123 -71
- data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +106 -54
- data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +115 -63
- data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +106 -54
- data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +106 -54
- data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +105 -53
- data/doc/NgrokAPI/Models/EndpointOIDC.html +132 -80
- data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +90 -38
- data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +90 -38
- data/doc/NgrokAPI/Models/EndpointSAML.html +147 -95
- data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +132 -80
- data/doc/NgrokAPI/Models/EndpointTLSTermination.html +90 -38
- data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +89 -37
- data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +90 -38
- data/doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +81 -29
- data/doc/NgrokAPI/Models/EventDestination.html +121 -69
- data/doc/NgrokAPI/Models/EventSource.html +91 -39
- data/doc/NgrokAPI/Models/EventSourceList.html +75 -23
- data/doc/NgrokAPI/Models/EventSourceReplace.html +90 -38
- data/doc/NgrokAPI/Models/EventSubscription.html +121 -69
- data/doc/NgrokAPI/Models/EventTarget.html +105 -53
- data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +89 -37
- data/doc/NgrokAPI/Models/EventTargetFirehose.html +89 -37
- data/doc/NgrokAPI/Models/EventTargetKinesis.html +82 -30
- data/doc/NgrokAPI/Models/FailoverBackend.html +127 -75
- data/doc/NgrokAPI/Models/HTTPResponseBackend.html +135 -83
- data/doc/NgrokAPI/Models/HTTPSEdge.html +136 -84
- data/doc/NgrokAPI/Models/HTTPSEdgeRoute.html +163 -111
- data/doc/NgrokAPI/Models/IPPolicy.html +119 -67
- data/doc/NgrokAPI/Models/IPPolicyRule.html +135 -83
- data/doc/NgrokAPI/Models/IPRestriction.html +129 -77
- data/doc/NgrokAPI/Models/Listable.html +60 -60
- data/doc/NgrokAPI/Models/Ref.html +82 -30
- data/doc/NgrokAPI/Models/ReservedAddr.html +129 -77
- data/doc/NgrokAPI/Models/ReservedDomain.html +150 -98
- data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +91 -39
- data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +89 -37
- data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +89 -37
- data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +134 -82
- data/doc/NgrokAPI/Models/SSHCredential.html +127 -75
- data/doc/NgrokAPI/Models/SSHHostCertificate.html +147 -95
- data/doc/NgrokAPI/Models/SSHUserCertificate.html +153 -101
- data/doc/NgrokAPI/Models/TCPEdge.html +141 -89
- data/doc/NgrokAPI/Models/TLSCertificate.html +164 -112
- data/doc/NgrokAPI/Models/TLSCertificateSANs.html +89 -37
- data/doc/NgrokAPI/Models/TLSEdge.html +145 -93
- data/doc/NgrokAPI/Models/Tunnel.html +136 -84
- data/doc/NgrokAPI/Models/TunnelGroupBackend.html +128 -76
- data/doc/NgrokAPI/Models/TunnelSession.html +125 -73
- data/doc/NgrokAPI/Models/WeightedBackend.html +127 -75
- data/doc/NgrokAPI/Models.html +1 -1
- data/doc/NgrokAPI/PagedIterator.html +2 -2
- data/doc/NgrokAPI/Services/APIKeysClient.html +243 -108
- data/doc/NgrokAPI/Services/AbuseReportsClient.html +161 -24
- data/doc/NgrokAPI/Services/AgentIngressesClient.html +261 -108
- data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +261 -108
- data/doc/NgrokAPI/Services/CredentialsClient.html +265 -110
- data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +304 -114
- data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +513 -98
- data/doc/NgrokAPI/Services/EdgesTCPClient.html +304 -114
- data/doc/NgrokAPI/Services/EdgesTLSClient.html +338 -118
- data/doc/NgrokAPI/Services/EndpointsClient.html +19 -23
- data/doc/NgrokAPI/Services/EventDestinationsClient.html +287 -112
- data/doc/NgrokAPI/Services/EventSourcesClient.html +226 -87
- data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +287 -112
- data/doc/NgrokAPI/Services/FailoverBackendsClient.html +267 -112
- data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +307 -114
- data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/IPPoliciesClient.html +243 -108
- data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +301 -110
- data/doc/NgrokAPI/Services/IPRestrictionsClient.html +303 -112
- data/doc/NgrokAPI/Services/ReservedAddrsClient.html +263 -108
- data/doc/NgrokAPI/Services/ReservedDomainsClient.html +357 -144
- data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +303 -108
- data/doc/NgrokAPI/Services/SSHCredentialsClient.html +283 -110
- data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +339 -108
- data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +380 -109
- data/doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TLSCertificatesClient.html +279 -108
- data/doc/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +27 -31
- data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +267 -112
- data/doc/NgrokAPI/Services/TunnelSessionsClient.html +43 -47
- data/doc/NgrokAPI/Services/TunnelsClient.html +19 -23
- data/doc/NgrokAPI/Services/WeightedBackendsClient.html +270 -115
- data/doc/NgrokAPI/Services.html +1 -1
- data/doc/NgrokAPI.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +54 -54
- data/doc/index.html +54 -54
- data/doc/method_list.html +1089 -337
- data/doc/top-level-namespace.html +1 -1
- data/docs/NgrokAPI/Client.html +1 -1
- data/docs/NgrokAPI/Error.html +1 -1
- data/docs/NgrokAPI/Errors/NotFoundError.html +1 -1
- data/docs/NgrokAPI/Errors.html +1 -1
- data/docs/NgrokAPI/HttpClient.html +146 -3
- data/docs/NgrokAPI/Models/APIKey.html +119 -67
- data/docs/NgrokAPI/Models/AWSAuth.html +82 -30
- data/docs/NgrokAPI/Models/AWSCredentials.html +89 -37
- data/docs/NgrokAPI/Models/AWSRole.html +74 -22
- data/docs/NgrokAPI/Models/AbuseReport.html +108 -56
- data/docs/NgrokAPI/Models/AbuseReportHostname.html +82 -30
- data/docs/NgrokAPI/Models/AgentIngress.html +141 -89
- data/docs/NgrokAPI/Models/CertificateAuthority.html +148 -96
- data/docs/NgrokAPI/Models/Credential.html +120 -68
- data/docs/NgrokAPI/Models/Endpoint.html +138 -86
- data/docs/NgrokAPI/Models/EndpointBackend.html +89 -37
- data/docs/NgrokAPI/Models/EndpointBackendMutate.html +89 -37
- data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +100 -48
- data/docs/NgrokAPI/Models/EndpointCompression.html +81 -29
- data/docs/NgrokAPI/Models/EndpointIPPolicy.html +89 -37
- data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +89 -37
- data/docs/NgrokAPI/Models/EndpointMutualTLS.html +89 -37
- data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +89 -37
- data/docs/NgrokAPI/Models/EndpointOAuth.html +123 -71
- data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +106 -54
- data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +115 -63
- data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +106 -54
- data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +106 -54
- data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +105 -53
- data/docs/NgrokAPI/Models/EndpointOIDC.html +132 -80
- data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +90 -38
- data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +90 -38
- data/docs/NgrokAPI/Models/EndpointSAML.html +147 -95
- data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +132 -80
- data/docs/NgrokAPI/Models/EndpointTLSTermination.html +90 -38
- data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +89 -37
- data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +90 -38
- data/docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +81 -29
- data/docs/NgrokAPI/Models/EventDestination.html +121 -69
- data/docs/NgrokAPI/Models/EventSource.html +91 -39
- data/docs/NgrokAPI/Models/EventSourceList.html +75 -23
- data/docs/NgrokAPI/Models/EventSourceReplace.html +90 -38
- data/docs/NgrokAPI/Models/EventSubscription.html +121 -69
- data/docs/NgrokAPI/Models/EventTarget.html +105 -53
- data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +89 -37
- data/docs/NgrokAPI/Models/EventTargetFirehose.html +89 -37
- data/docs/NgrokAPI/Models/EventTargetKinesis.html +82 -30
- data/docs/NgrokAPI/Models/FailoverBackend.html +127 -75
- data/docs/NgrokAPI/Models/HTTPResponseBackend.html +135 -83
- data/docs/NgrokAPI/Models/HTTPSEdge.html +136 -84
- data/docs/NgrokAPI/Models/HTTPSEdgeRoute.html +163 -111
- data/docs/NgrokAPI/Models/IPPolicy.html +119 -67
- data/docs/NgrokAPI/Models/IPPolicyRule.html +135 -83
- data/docs/NgrokAPI/Models/IPRestriction.html +129 -77
- data/docs/NgrokAPI/Models/Listable.html +60 -60
- data/docs/NgrokAPI/Models/Ref.html +82 -30
- data/docs/NgrokAPI/Models/ReservedAddr.html +129 -77
- data/docs/NgrokAPI/Models/ReservedDomain.html +150 -98
- data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +91 -39
- data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +89 -37
- data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +89 -37
- data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +134 -82
- data/docs/NgrokAPI/Models/SSHCredential.html +127 -75
- data/docs/NgrokAPI/Models/SSHHostCertificate.html +147 -95
- data/docs/NgrokAPI/Models/SSHUserCertificate.html +153 -101
- data/docs/NgrokAPI/Models/TCPEdge.html +141 -89
- data/docs/NgrokAPI/Models/TLSCertificate.html +164 -112
- data/docs/NgrokAPI/Models/TLSCertificateSANs.html +89 -37
- data/docs/NgrokAPI/Models/TLSEdge.html +145 -93
- data/docs/NgrokAPI/Models/Tunnel.html +136 -84
- data/docs/NgrokAPI/Models/TunnelGroupBackend.html +128 -76
- data/docs/NgrokAPI/Models/TunnelSession.html +125 -73
- data/docs/NgrokAPI/Models/WeightedBackend.html +127 -75
- data/docs/NgrokAPI/Models.html +1 -1
- data/docs/NgrokAPI/PagedIterator.html +2 -2
- data/docs/NgrokAPI/Services/APIKeysClient.html +243 -108
- data/docs/NgrokAPI/Services/AbuseReportsClient.html +161 -24
- data/docs/NgrokAPI/Services/AgentIngressesClient.html +261 -108
- data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +261 -108
- data/docs/NgrokAPI/Services/CredentialsClient.html +265 -110
- data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +304 -114
- data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +513 -98
- data/docs/NgrokAPI/Services/EdgesTCPClient.html +304 -114
- data/docs/NgrokAPI/Services/EdgesTLSClient.html +338 -118
- data/docs/NgrokAPI/Services/EndpointsClient.html +19 -23
- data/docs/NgrokAPI/Services/EventDestinationsClient.html +287 -112
- data/docs/NgrokAPI/Services/EventSourcesClient.html +226 -87
- data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +287 -112
- data/docs/NgrokAPI/Services/FailoverBackendsClient.html +267 -112
- data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +307 -114
- data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/IPPoliciesClient.html +243 -108
- data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +301 -110
- data/docs/NgrokAPI/Services/IPRestrictionsClient.html +303 -112
- data/docs/NgrokAPI/Services/ReservedAddrsClient.html +263 -108
- data/docs/NgrokAPI/Services/ReservedDomainsClient.html +357 -144
- data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +303 -108
- data/docs/NgrokAPI/Services/SSHCredentialsClient.html +283 -110
- data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +339 -108
- data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +380 -109
- data/docs/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TLSCertificatesClient.html +279 -108
- data/docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +27 -31
- data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +267 -112
- data/docs/NgrokAPI/Services/TunnelSessionsClient.html +43 -47
- data/docs/NgrokAPI/Services/TunnelsClient.html +19 -23
- data/docs/NgrokAPI/Services/WeightedBackendsClient.html +270 -115
- data/docs/NgrokAPI/Services.html +1 -1
- data/docs/NgrokAPI.html +1 -1
- data/docs/_index.html +1 -1
- data/docs/file.README.html +54 -54
- data/docs/index.html +54 -54
- data/docs/method_list.html +1089 -337
- data/docs/top-level-namespace.html +1 -1
- data/lib/ngrokapi/http_client.rb +21 -2
- data/lib/ngrokapi/models/abuse_report.rb +16 -12
- data/lib/ngrokapi/models/abuse_report_hostname.rb +11 -7
- data/lib/ngrokapi/models/agent_ingress.rb +17 -13
- data/lib/ngrokapi/models/api_key.rb +15 -11
- data/lib/ngrokapi/models/aws_auth.rb +11 -7
- data/lib/ngrokapi/models/aws_credentials.rb +11 -7
- data/lib/ngrokapi/models/aws_role.rb +10 -6
- data/lib/ngrokapi/models/certificate_authority.rb +20 -16
- data/lib/ngrokapi/models/credential.rb +16 -12
- data/lib/ngrokapi/models/endpoint.rb +22 -18
- data/lib/ngrokapi/models/endpoint_backend.rb +11 -7
- data/lib/ngrokapi/models/endpoint_backend_mutate.rb +11 -7
- data/lib/ngrokapi/models/endpoint_circuit_breaker.rb +15 -11
- data/lib/ngrokapi/models/endpoint_compression.rb +10 -6
- data/lib/ngrokapi/models/endpoint_ip_policy.rb +11 -7
- data/lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +11 -7
- data/lib/ngrokapi/models/endpoint_mutual_tls.rb +11 -7
- data/lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +11 -7
- data/lib/ngrokapi/models/endpoint_o_auth.rb +16 -12
- data/lib/ngrokapi/models/endpoint_o_auth_facebook.rb +14 -10
- data/lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +16 -12
- data/lib/ngrokapi/models/endpoint_o_auth_google.rb +14 -10
- data/lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +14 -10
- data/lib/ngrokapi/models/endpoint_o_auth_provider.rb +13 -9
- data/lib/ngrokapi/models/endpoint_oidc.rb +18 -14
- data/lib/ngrokapi/models/endpoint_request_headers.rb +12 -8
- data/lib/ngrokapi/models/endpoint_response_headers.rb +12 -8
- data/lib/ngrokapi/models/endpoint_saml.rb +25 -21
- data/lib/ngrokapi/models/endpoint_saml_mutate.rb +20 -16
- data/lib/ngrokapi/models/endpoint_tls_termination.rb +12 -8
- data/lib/ngrokapi/models/endpoint_tls_termination_at_edge.rb +11 -7
- data/lib/ngrokapi/models/endpoint_webhook_validation.rb +12 -8
- data/lib/ngrokapi/models/endpoint_websocket_tcp_converter.rb +10 -6
- data/lib/ngrokapi/models/event_destination.rb +16 -12
- data/lib/ngrokapi/models/event_source.rb +13 -9
- data/lib/ngrokapi/models/event_source_list.rb +11 -7
- data/lib/ngrokapi/models/event_source_replace.rb +12 -8
- data/lib/ngrokapi/models/event_subscription.rb +16 -12
- data/lib/ngrokapi/models/event_target.rb +13 -9
- data/lib/ngrokapi/models/event_target_cloudwatch_logs.rb +11 -7
- data/lib/ngrokapi/models/event_target_firehose.rb +11 -7
- data/lib/ngrokapi/models/event_target_kinesis.rb +11 -7
- data/lib/ngrokapi/models/failover_backend.rb +16 -12
- data/lib/ngrokapi/models/http_response_backend.rb +17 -13
- data/lib/ngrokapi/models/https_edge.rb +18 -14
- data/lib/ngrokapi/models/https_edge_route.rb +28 -24
- data/lib/ngrokapi/models/ip_policy.rb +15 -11
- data/lib/ngrokapi/models/ip_policy_rule.rb +17 -13
- data/lib/ngrokapi/models/ip_restriction.rb +17 -13
- data/lib/ngrokapi/models/listable.rb +9 -9
- data/lib/ngrokapi/models/ref.rb +11 -7
- data/lib/ngrokapi/models/reserved_addr.rb +17 -13
- data/lib/ngrokapi/models/reserved_domain.rb +23 -19
- data/lib/ngrokapi/models/reserved_domain_cert_job.rb +13 -9
- data/lib/ngrokapi/models/reserved_domain_cert_policy.rb +11 -7
- data/lib/ngrokapi/models/reserved_domain_cert_status.rb +11 -7
- data/lib/ngrokapi/models/ssh_certificate_authority.rb +16 -12
- data/lib/ngrokapi/models/ssh_credential.rb +16 -12
- data/lib/ngrokapi/models/ssh_host_certificate.rb +21 -17
- data/lib/ngrokapi/models/ssh_user_certificate.rb +23 -19
- data/lib/ngrokapi/models/tcp_edge.rb +17 -13
- data/lib/ngrokapi/models/tls_certificate.rb +30 -26
- data/lib/ngrokapi/models/tls_certificate_sa_ns.rb +11 -7
- data/lib/ngrokapi/models/tls_edge.rb +19 -15
- data/lib/ngrokapi/models/tunnel.rb +20 -16
- data/lib/ngrokapi/models/tunnel_group_backend.rb +17 -13
- data/lib/ngrokapi/models/tunnel_session.rb +19 -15
- data/lib/ngrokapi/models/weighted_backend.rb +16 -12
- data/lib/ngrokapi/paged_iterator.rb +1 -1
- data/lib/ngrokapi/services/abuse_reports_client.rb +25 -3
- data/lib/ngrokapi/services/agent_ingresses_client.rb +32 -11
- data/lib/ngrokapi/services/api_keys_client.rb +30 -11
- data/lib/ngrokapi/services/certificate_authorities_client.rb +31 -11
- data/lib/ngrokapi/services/credentials_client.rb +34 -11
- data/lib/ngrokapi/services/edge_route_backend_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_circuit_breaker_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_compression_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_ip_restriction_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_o_auth_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_oidc_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_request_headers_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_response_headers_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_saml_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_webhook_verification_module_client.rb +6 -8
- data/lib/ngrokapi/services/edge_route_websocket_tcp_converter_module_client.rb +6 -8
- data/lib/ngrokapi/services/edges_https_client.rb +35 -11
- data/lib/ngrokapi/services/edges_https_routes_client.rb +53 -5
- data/lib/ngrokapi/services/edges_tcp_client.rb +35 -11
- data/lib/ngrokapi/services/edges_tls_client.rb +39 -11
- data/lib/ngrokapi/services/endpoints_client.rb +6 -8
- data/lib/ngrokapi/services/event_destinations_client.rb +35 -11
- data/lib/ngrokapi/services/event_sources_client.rb +27 -7
- data/lib/ngrokapi/services/event_subscriptions_client.rb +33 -11
- data/lib/ngrokapi/services/failover_backends_client.rb +33 -13
- data/lib/ngrokapi/services/http_response_backends_client.rb +32 -11
- data/lib/ngrokapi/services/https_edge_mutual_tls_module_client.rb +6 -8
- data/lib/ngrokapi/services/https_edge_tls_termination_module_client.rb +6 -8
- data/lib/ngrokapi/services/ip_policies_client.rb +30 -11
- data/lib/ngrokapi/services/ip_policy_rules_client.rb +35 -11
- data/lib/ngrokapi/services/ip_restrictions_client.rb +35 -11
- data/lib/ngrokapi/services/reserved_addrs_client.rb +31 -11
- data/lib/ngrokapi/services/reserved_domains_client.rb +37 -11
- data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +35 -11
- data/lib/ngrokapi/services/ssh_credentials_client.rb +34 -11
- data/lib/ngrokapi/services/ssh_host_certificates_client.rb +39 -11
- data/lib/ngrokapi/services/ssh_user_certificates_client.rb +44 -12
- data/lib/ngrokapi/services/tcp_edge_backend_module_client.rb +6 -8
- data/lib/ngrokapi/services/tcp_edge_ip_restriction_module_client.rb +6 -8
- data/lib/ngrokapi/services/tls_certificates_client.rb +33 -11
- data/lib/ngrokapi/services/tls_edge_backend_module_client.rb +6 -8
- data/lib/ngrokapi/services/tls_edge_ip_restriction_module_client.rb +6 -8
- data/lib/ngrokapi/services/tls_edge_mutual_tls_module_client.rb +6 -8
- data/lib/ngrokapi/services/tls_edge_tls_termination_module_client.rb +6 -8
- data/lib/ngrokapi/services/tunnel_group_backends_client.rb +33 -13
- data/lib/ngrokapi/services/tunnel_sessions_client.rb +6 -8
- data/lib/ngrokapi/services/tunnels_client.rb +6 -8
- data/lib/ngrokapi/services/weighted_backends_client.rb +36 -16
- data/lib/ngrokapi/version.rb +1 -1
- data/lib/ngrokapi.rb +1 -1
- data/spec/ngrokapi/models/abuse_report_hostname_spec.rb +2 -2
- data/spec/ngrokapi/models/abuse_report_spec.rb +2 -2
- data/spec/ngrokapi/models/agent_ingress_spec.rb +2 -2
- data/spec/ngrokapi/models/api_key_spec.rb +2 -2
- data/spec/ngrokapi/models/aws_auth_spec.rb +2 -2
- data/spec/ngrokapi/models/aws_credentials_spec.rb +2 -2
- data/spec/ngrokapi/models/aws_role_spec.rb +2 -2
- data/spec/ngrokapi/models/certificate_authority_spec.rb +2 -2
- data/spec/ngrokapi/models/credential_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_backend_mutate_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_backend_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_circuit_breaker_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_compression_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_ip_policy_mutate_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_ip_policy_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_mutual_tls_mutate_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_mutual_tls_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_facebook_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_google_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_microsoft_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_provider_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_o_auth_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_oidc_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_request_headers_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_response_headers_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_saml_mutate_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_saml_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_tls_termination_at_edge_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_tls_termination_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_webhook_validation_spec.rb +2 -2
- data/spec/ngrokapi/models/endpoint_websocket_tcp_converter_spec.rb +2 -2
- data/spec/ngrokapi/models/event_destination_spec.rb +2 -2
- data/spec/ngrokapi/models/event_source_list_spec.rb +2 -2
- data/spec/ngrokapi/models/event_source_replace_spec.rb +2 -2
- data/spec/ngrokapi/models/event_source_spec.rb +2 -2
- data/spec/ngrokapi/models/event_subscription_spec.rb +2 -2
- data/spec/ngrokapi/models/event_target_cloudwatch_logs_spec.rb +2 -2
- data/spec/ngrokapi/models/event_target_firehose_spec.rb +2 -2
- data/spec/ngrokapi/models/event_target_kinesis_spec.rb +2 -2
- data/spec/ngrokapi/models/event_target_spec.rb +2 -2
- data/spec/ngrokapi/models/failover_backend_spec.rb +2 -2
- data/spec/ngrokapi/models/http_response_backend_spec.rb +2 -2
- data/spec/ngrokapi/models/https_edge_route_spec.rb +2 -2
- data/spec/ngrokapi/models/https_edge_spec.rb +2 -2
- data/spec/ngrokapi/models/ip_policy_rule_spec.rb +2 -2
- data/spec/ngrokapi/models/ip_policy_spec.rb +2 -2
- data/spec/ngrokapi/models/ip_restriction_spec.rb +2 -2
- data/spec/ngrokapi/models/listable_spec.rb +2 -2
- data/spec/ngrokapi/models/ref_spec.rb +2 -2
- data/spec/ngrokapi/models/reserved_addr_spec.rb +2 -2
- data/spec/ngrokapi/models/reserved_domain_cert_job_spec.rb +2 -2
- data/spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb +2 -2
- data/spec/ngrokapi/models/reserved_domain_cert_status_spec.rb +2 -2
- data/spec/ngrokapi/models/reserved_domain_spec.rb +2 -2
- data/spec/ngrokapi/models/ssh_certificate_authority_spec.rb +2 -2
- data/spec/ngrokapi/models/ssh_credential_spec.rb +2 -2
- data/spec/ngrokapi/models/ssh_host_certificate_spec.rb +2 -2
- data/spec/ngrokapi/models/ssh_user_certificate_spec.rb +2 -2
- data/spec/ngrokapi/models/tcp_edge_spec.rb +2 -2
- data/spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb +2 -2
- data/spec/ngrokapi/models/tls_certificate_spec.rb +2 -2
- data/spec/ngrokapi/models/tls_edge_spec.rb +2 -2
- data/spec/ngrokapi/models/tunnel_group_backend_spec.rb +2 -2
- data/spec/ngrokapi/models/tunnel_session_spec.rb +2 -2
- data/spec/ngrokapi/models/tunnel_spec.rb +2 -2
- data/spec/ngrokapi/models/weighted_backend_spec.rb +2 -2
- data/spec/ngrokapi/paged_iterator_spec.rb +5 -5
- data/spec/ngrokapi/services/abuse_reports_client_spec.rb +19 -0
- data/spec/ngrokapi/services/agent_ingresses_client_spec.rb +21 -0
- data/spec/ngrokapi/services/api_keys_client_spec.rb +19 -0
- data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +21 -0
- data/spec/ngrokapi/services/credentials_client_spec.rb +21 -0
- data/spec/ngrokapi/services/edge_route_backend_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_circuit_breaker_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_compression_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_ip_restriction_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_o_auth_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_oidc_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_request_headers_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_response_headers_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_saml_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_webhook_verification_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edge_route_websocket_tcp_converter_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/edges_https_client_spec.rb +25 -0
- data/spec/ngrokapi/services/edges_https_routes_client_spec.rb +47 -0
- data/spec/ngrokapi/services/edges_tcp_client_spec.rb +25 -0
- data/spec/ngrokapi/services/edges_tls_client_spec.rb +29 -0
- data/spec/ngrokapi/services/event_destinations_client_spec.rb +24 -0
- data/spec/ngrokapi/services/event_sources_client_spec.rb +21 -0
- data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +23 -0
- data/spec/ngrokapi/services/failover_backends_client_spec.rb +21 -0
- data/spec/ngrokapi/services/http_response_backends_client_spec.rb +25 -0
- data/spec/ngrokapi/services/https_edge_mutual_tls_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/https_edge_tls_termination_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/ip_policies_client_spec.rb +20 -0
- data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +25 -0
- data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +25 -0
- data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +22 -0
- data/spec/ngrokapi/services/reserved_domains_client_spec.rb +29 -0
- data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +25 -0
- data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +23 -0
- data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +29 -0
- data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +33 -0
- data/spec/ngrokapi/services/tcp_edge_backend_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tcp_edge_ip_restriction_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tls_certificates_client_spec.rb +23 -0
- data/spec/ngrokapi/services/tls_edge_backend_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tls_edge_ip_restriction_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tls_edge_mutual_tls_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tls_edge_tls_termination_module_client_spec.rb +2 -4
- data/spec/ngrokapi/services/tunnel_group_backends_client_spec.rb +21 -0
- data/spec/ngrokapi/services/weighted_backends_client_spec.rb +21 -0
- metadata +1 -3
- data/doc/README +0 -94
- data/docs/README +0 -94
@@ -219,6 +219,30 @@
|
|
219
219
|
|
220
220
|
|
221
221
|
|
222
|
+
<span class="summary_desc"><div class='inline'>
|
223
|
+
<p>Create a new Event Destination.</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>(metadata: "", description: "", format: "", target: nil, verify_with_test_event: nil) ⇒ NgrokAPI::Models::EventDestination </a>
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
</span>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
222
246
|
<span class="summary_desc"><div class='inline'>
|
223
247
|
<p>Create a new Event Destination.</p>
|
224
248
|
</div></span>
|
@@ -694,7 +718,162 @@
|
|
694
718
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:format</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_format'>format</span> <span class='kw'>if</span> <span class='id identifier rubyid_format'>format</span>
|
695
719
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:target</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_target'>target</span> <span class='kw'>if</span> <span class='id identifier rubyid_target'>target</span>
|
696
720
|
<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>
|
697
|
-
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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'>
|
721
|
+
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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>
|
722
|
+
<span class='kw'>end</span></pre>
|
723
|
+
</td>
|
724
|
+
</tr>
|
725
|
+
</table>
|
726
|
+
</div>
|
727
|
+
|
728
|
+
<div class="method_details ">
|
729
|
+
<h3 class="signature " id="create!-instance_method">
|
730
|
+
|
731
|
+
#<strong>create!</strong>(metadata: "", description: "", format: "", target: nil, verify_with_test_event: nil) ⇒ <tt><span class='object_link'><a href="../Models/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">NgrokAPI::Models::EventDestination</a></span></tt>
|
732
|
+
|
733
|
+
|
734
|
+
|
735
|
+
|
736
|
+
|
737
|
+
</h3><div class="docstring">
|
738
|
+
<div class="discussion">
|
739
|
+
|
740
|
+
<p>Create a new Event Destination. It will not apply to anything until it is associated with an Event Stream, and that Event Stream is associated with an Endpoint Config. Throws an exception if API error.</p>
|
741
|
+
|
742
|
+
<p><a href="https://ngrok.com/docs/api#api-event-destinations-create">ngrok.com/docs/api#api-event-destinations-create</a></p>
|
743
|
+
|
744
|
+
|
745
|
+
</div>
|
746
|
+
</div>
|
747
|
+
<div class="tags">
|
748
|
+
<p class="tag_title">Parameters:</p>
|
749
|
+
<ul class="param">
|
750
|
+
|
751
|
+
<li>
|
752
|
+
|
753
|
+
<span class='name'>metadata</span>
|
754
|
+
|
755
|
+
|
756
|
+
<span class='type'>(<tt>string</tt>)</span>
|
757
|
+
|
758
|
+
|
759
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
760
|
+
|
761
|
+
|
762
|
+
—
|
763
|
+
<div class='inline'>
|
764
|
+
<p>Arbitrary user-defined machine-readable data of this Event Destination. Optional, max 4096 bytes.</p>
|
765
|
+
</div>
|
766
|
+
|
767
|
+
</li>
|
768
|
+
|
769
|
+
<li>
|
770
|
+
|
771
|
+
<span class='name'>description</span>
|
772
|
+
|
773
|
+
|
774
|
+
<span class='type'>(<tt>string</tt>)</span>
|
775
|
+
|
776
|
+
|
777
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
778
|
+
|
779
|
+
|
780
|
+
—
|
781
|
+
<div class='inline'>
|
782
|
+
<p>Human-readable description of the Event Destination. Optional, max 255 bytes.</p>
|
783
|
+
</div>
|
784
|
+
|
785
|
+
</li>
|
786
|
+
|
787
|
+
<li>
|
788
|
+
|
789
|
+
<span class='name'>format</span>
|
790
|
+
|
791
|
+
|
792
|
+
<span class='type'>(<tt>string</tt>)</span>
|
793
|
+
|
794
|
+
|
795
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
796
|
+
|
797
|
+
|
798
|
+
—
|
799
|
+
<div class='inline'>
|
800
|
+
<p>The output format you would like to serialize events into when sending to their target. Currently the only accepted value is <code>JSON</code>.</p>
|
801
|
+
</div>
|
802
|
+
|
803
|
+
</li>
|
804
|
+
|
805
|
+
<li>
|
806
|
+
|
807
|
+
<span class='name'>target</span>
|
808
|
+
|
809
|
+
|
810
|
+
<span class='type'>(<tt>EventTarget</tt>)</span>
|
811
|
+
|
812
|
+
|
813
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
814
|
+
|
815
|
+
|
816
|
+
—
|
817
|
+
<div class='inline'>
|
818
|
+
<p>An object that encapsulates where and how to send your events. An event destination must contain exactly one of the following objects, leaving the rest null: <code>kinesis</code>, <code>firehose</code>, <code>cloudwatch_logs</code>, or <code>s3</code>.</p>
|
819
|
+
</div>
|
820
|
+
|
821
|
+
</li>
|
822
|
+
|
823
|
+
</ul>
|
824
|
+
|
825
|
+
<p class="tag_title">Returns:</p>
|
826
|
+
<ul class="return">
|
827
|
+
|
828
|
+
<li>
|
829
|
+
|
830
|
+
|
831
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">NgrokAPI::Models::EventDestination</a></span></tt>)</span>
|
832
|
+
|
833
|
+
|
834
|
+
|
835
|
+
—
|
836
|
+
<div class='inline'>
|
837
|
+
<p>result from the API request</p>
|
838
|
+
</div>
|
839
|
+
|
840
|
+
</li>
|
841
|
+
|
842
|
+
</ul>
|
843
|
+
|
844
|
+
</div><table class="source_code">
|
845
|
+
<tr>
|
846
|
+
<td>
|
847
|
+
<pre class="lines">
|
848
|
+
|
849
|
+
|
850
|
+
57
|
851
|
+
58
|
852
|
+
59
|
853
|
+
60
|
854
|
+
61
|
855
|
+
62
|
856
|
+
63
|
857
|
+
64
|
858
|
+
65
|
859
|
+
66
|
860
|
+
67
|
861
|
+
68</pre>
|
862
|
+
</td>
|
863
|
+
<td>
|
864
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line 57</span>
|
865
|
+
|
866
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create!'>create!</span><span class='lparen'>(</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'>description:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>format:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>target:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>verify_with_test_event:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
867
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/event_destinations</span><span class='tstring_end'>'</span></span>
|
868
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
869
|
+
<span class='rbrace'>}</span>
|
870
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
871
|
+
<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>
|
872
|
+
<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>
|
873
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:format</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_format'>format</span> <span class='kw'>if</span> <span class='id identifier rubyid_format'>format</span>
|
874
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:target</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_target'>target</span> <span class='kw'>if</span> <span class='id identifier rubyid_target'>target</span>
|
875
|
+
<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>
|
876
|
+
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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>
|
698
877
|
<span class='kw'>end</span></pre>
|
699
878
|
</td>
|
700
879
|
</tr>
|
@@ -769,16 +948,16 @@
|
|
769
948
|
<pre class="lines">
|
770
949
|
|
771
950
|
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
951
|
+
78
|
952
|
+
79
|
953
|
+
80
|
954
|
+
81
|
955
|
+
82
|
956
|
+
83
|
957
|
+
84</pre>
|
779
958
|
</td>
|
780
959
|
<td>
|
781
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line
|
960
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line 78</span>
|
782
961
|
|
783
962
|
<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>
|
784
963
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/event_destinations/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -860,16 +1039,16 @@
|
|
860
1039
|
<pre class="lines">
|
861
1040
|
|
862
1041
|
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
1042
|
+
95
|
1043
|
+
96
|
1044
|
+
97
|
1045
|
+
98
|
1046
|
+
99
|
1047
|
+
100
|
1048
|
+
101</pre>
|
870
1049
|
</td>
|
871
1050
|
<td>
|
872
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line
|
1051
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line 95</span>
|
873
1052
|
|
874
1053
|
<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>
|
875
1054
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/event_destinations/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -951,18 +1130,18 @@
|
|
951
1130
|
<pre class="lines">
|
952
1131
|
|
953
1132
|
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
1133
|
+
110
|
1134
|
+
111
|
1135
|
+
112
|
1136
|
+
113
|
1137
|
+
114
|
1138
|
+
115
|
1139
|
+
116
|
1140
|
+
117
|
1141
|
+
118</pre>
|
963
1142
|
</td>
|
964
1143
|
<td>
|
965
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line
|
1144
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line 110</span>
|
966
1145
|
|
967
1146
|
<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>
|
968
1147
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/event_destinations/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -971,7 +1150,7 @@
|
|
971
1150
|
<span class='rbrace'>}</span>
|
972
1151
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
973
1152
|
<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>
|
974
|
-
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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'>
|
1153
|
+
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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>
|
975
1154
|
<span class='kw'>end</span></pre>
|
976
1155
|
</td>
|
977
1156
|
</tr>
|
@@ -1046,18 +1225,18 @@
|
|
1046
1225
|
<pre class="lines">
|
1047
1226
|
|
1048
1227
|
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1228
|
+
128
|
1229
|
+
129
|
1230
|
+
130
|
1231
|
+
131
|
1232
|
+
132
|
1233
|
+
133
|
1234
|
+
134
|
1235
|
+
135
|
1236
|
+
136</pre>
|
1058
1237
|
</td>
|
1059
1238
|
<td>
|
1060
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line
|
1239
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line 128</span>
|
1061
1240
|
|
1062
1241
|
<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>
|
1063
1242
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/event_destinations/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -1066,7 +1245,7 @@
|
|
1066
1245
|
<span class='rbrace'>}</span>
|
1067
1246
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1068
1247
|
<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>
|
1069
|
-
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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'>
|
1248
|
+
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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>
|
1070
1249
|
<span class='kw'>end</span></pre>
|
1071
1250
|
</td>
|
1072
1251
|
</tr>
|
@@ -1167,28 +1346,26 @@
|
|
1167
1346
|
<pre class="lines">
|
1168
1347
|
|
1169
1348
|
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
136</pre>
|
1349
|
+
147
|
1350
|
+
148
|
1351
|
+
149
|
1352
|
+
150
|
1353
|
+
151
|
1354
|
+
152
|
1355
|
+
153
|
1356
|
+
154
|
1357
|
+
155
|
1358
|
+
156
|
1359
|
+
157
|
1360
|
+
158
|
1361
|
+
159
|
1362
|
+
160
|
1363
|
+
161</pre>
|
1186
1364
|
</td>
|
1187
1365
|
<td>
|
1188
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line
|
1366
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line 147</span>
|
1189
1367
|
|
1190
|
-
<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>
|
1191
|
-
<span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1368
|
+
<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>
|
1192
1369
|
<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>
|
1193
1370
|
<span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
|
1194
1371
|
<span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
|
@@ -1198,7 +1375,7 @@
|
|
1198
1375
|
|
1199
1376
|
<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>
|
1200
1377
|
<span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
|
1201
|
-
<span class='label'>
|
1378
|
+
<span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
|
1202
1379
|
<span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::EventDestinationsClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
|
1203
1380
|
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span>
|
1204
1381
|
<span class='rparen'>)</span>
|
@@ -1302,30 +1479,28 @@
|
|
1302
1479
|
<pre class="lines">
|
1303
1480
|
|
1304
1481
|
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
165</pre>
|
1482
|
+
173
|
1483
|
+
174
|
1484
|
+
175
|
1485
|
+
176
|
1486
|
+
177
|
1487
|
+
178
|
1488
|
+
179
|
1489
|
+
180
|
1490
|
+
181
|
1491
|
+
182
|
1492
|
+
183
|
1493
|
+
184
|
1494
|
+
185
|
1495
|
+
186
|
1496
|
+
187
|
1497
|
+
188
|
1498
|
+
189</pre>
|
1323
1499
|
</td>
|
1324
1500
|
<td>
|
1325
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line
|
1501
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line 173</span>
|
1326
1502
|
|
1327
|
-
<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>
|
1328
|
-
<span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1503
|
+
<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>
|
1329
1504
|
<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>
|
1330
1505
|
<span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
|
1331
1506
|
<span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
|
@@ -1336,7 +1511,7 @@
|
|
1336
1511
|
|
1337
1512
|
<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>
|
1338
1513
|
<span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
|
1339
|
-
<span class='label'>
|
1514
|
+
<span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
|
1340
1515
|
<span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::EventDestinationsClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
|
1341
1516
|
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='comma'>,</span>
|
1342
1517
|
<span class='label'>danger:</span> <span class='kw'>true</span>
|
@@ -1487,22 +1662,22 @@
|
|
1487
1662
|
<pre class="lines">
|
1488
1663
|
|
1489
1664
|
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1665
|
+
202
|
1666
|
+
203
|
1667
|
+
204
|
1668
|
+
205
|
1669
|
+
206
|
1670
|
+
207
|
1671
|
+
208
|
1672
|
+
209
|
1673
|
+
210
|
1674
|
+
211
|
1675
|
+
212
|
1676
|
+
213
|
1677
|
+
214</pre>
|
1503
1678
|
</td>
|
1504
1679
|
<td>
|
1505
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line
|
1680
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line 202</span>
|
1506
1681
|
|
1507
1682
|
<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'>metadata:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>format:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>target:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>verify_with_test_event:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1508
1683
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/event_destinations/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -1515,7 +1690,7 @@
|
|
1515
1690
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:format</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_format'>format</span> <span class='kw'>if</span> <span class='id identifier rubyid_format'>format</span>
|
1516
1691
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:target</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_target'>target</span> <span class='kw'>if</span> <span class='id identifier rubyid_target'>target</span>
|
1517
1692
|
<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>
|
1518
|
-
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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'>
|
1693
|
+
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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>
|
1519
1694
|
<span class='kw'>end</span></pre>
|
1520
1695
|
</td>
|
1521
1696
|
</tr>
|
@@ -1662,22 +1837,22 @@
|
|
1662
1837
|
<pre class="lines">
|
1663
1838
|
|
1664
1839
|
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1840
|
+
228
|
1841
|
+
229
|
1842
|
+
230
|
1843
|
+
231
|
1844
|
+
232
|
1845
|
+
233
|
1846
|
+
234
|
1847
|
+
235
|
1848
|
+
236
|
1849
|
+
237
|
1850
|
+
238
|
1851
|
+
239
|
1852
|
+
240</pre>
|
1678
1853
|
</td>
|
1679
1854
|
<td>
|
1680
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line
|
1855
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_destinations_client.rb', line 228</span>
|
1681
1856
|
|
1682
1857
|
<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'>metadata:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>format:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>target:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>verify_with_test_event:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1683
1858
|
<span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/event_destinations/%{id}</span><span class='tstring_end'>'</span></span>
|
@@ -1690,7 +1865,7 @@
|
|
1690
1865
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:format</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_format'>format</span> <span class='kw'>if</span> <span class='id identifier rubyid_format'>format</span>
|
1691
1866
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:target</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_target'>target</span> <span class='kw'>if</span> <span class='id identifier rubyid_target'>target</span>
|
1692
1867
|
<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>
|
1693
|
-
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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'>
|
1868
|
+
<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/EventDestination.html" title="NgrokAPI::Models::EventDestination (class)">EventDestination</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventDestination.html#initialize-instance_method" title="NgrokAPI::Models::EventDestination#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>
|
1694
1869
|
<span class='kw'>end</span></pre>
|
1695
1870
|
</td>
|
1696
1871
|
</tr>
|
@@ -1702,7 +1877,7 @@
|
|
1702
1877
|
</div>
|
1703
1878
|
|
1704
1879
|
<div id="footer">
|
1705
|
-
Generated on
|
1880
|
+
Generated on Mon Apr 11 19:33:03 2022 by
|
1706
1881
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1707
1882
|
0.9.27 (ruby-2.7.5).
|
1708
1883
|
</div>
|