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
@@ -207,6 +207,30 @@
|
|
207
207
|
<p>Add an additional type for which this event subscription will trigger.</p>
|
208
208
|
</div></span>
|
209
209
|
|
210
|
+
</li>
|
211
|
+
|
212
|
+
|
213
|
+
<li class="public ">
|
214
|
+
<span class="summary_signature">
|
215
|
+
|
216
|
+
<a href="#create!-instance_method" title="#create! (instance method)">#<strong>create!</strong>(subscription_id: "", type: "", filter: "", fields: []) ⇒ NgrokAPI::Models::EventSource </a>
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
</span>
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
<span class="summary_desc"><div class='inline'>
|
231
|
+
<p>Add an additional type for which this event subscription will trigger Throws an exception if API error.</p>
|
232
|
+
</div></span>
|
233
|
+
|
210
234
|
</li>
|
211
235
|
|
212
236
|
|
@@ -638,7 +662,7 @@
|
|
638
662
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
639
663
|
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:type</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_type'>type</span> <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span>
|
640
664
|
<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>
|
641
|
-
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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'>
|
665
|
+
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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>
|
642
666
|
<span class='kw'>end</span></pre>
|
643
667
|
</td>
|
644
668
|
</tr>
|
@@ -646,9 +670,9 @@
|
|
646
670
|
</div>
|
647
671
|
|
648
672
|
<div class="method_details ">
|
649
|
-
<h3 class="signature " id="
|
673
|
+
<h3 class="signature " id="create!-instance_method">
|
650
674
|
|
651
|
-
#<strong>
|
675
|
+
#<strong>create!</strong>(subscription_id: "", type: "", filter: "", fields: []) ⇒ <tt><span class='object_link'><a href="../Models/EventSource.html" title="NgrokAPI::Models::EventSource (class)">NgrokAPI::Models::EventSource</a></span></tt>
|
652
676
|
|
653
677
|
|
654
678
|
|
@@ -657,9 +681,9 @@
|
|
657
681
|
</h3><div class="docstring">
|
658
682
|
<div class="discussion">
|
659
683
|
|
660
|
-
<p>
|
684
|
+
<p>Add an additional type for which this event subscription will trigger Throws an exception if API error.</p>
|
661
685
|
|
662
|
-
<p><a href="https://ngrok.com/docs/api#api-event-sources-
|
686
|
+
<p><a href="https://ngrok.com/docs/api#api-event-sources-create">ngrok.com/docs/api#api-event-sources-create</a></p>
|
663
687
|
|
664
688
|
|
665
689
|
</div>
|
@@ -712,7 +736,7 @@
|
|
712
736
|
<li>
|
713
737
|
|
714
738
|
|
715
|
-
<span class='type'>(<tt>NgrokAPI::Models::
|
739
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/EventSource.html" title="NgrokAPI::Models::EventSource (class)">NgrokAPI::Models::EventSource</a></span></tt>)</span>
|
716
740
|
|
717
741
|
|
718
742
|
|
@@ -731,25 +755,29 @@
|
|
731
755
|
<pre class="lines">
|
732
756
|
|
733
757
|
|
734
|
-
44
|
735
758
|
45
|
736
759
|
46
|
737
760
|
47
|
738
761
|
48
|
739
762
|
49
|
740
763
|
50
|
741
|
-
51
|
764
|
+
51
|
765
|
+
52
|
766
|
+
53
|
767
|
+
54</pre>
|
742
768
|
</td>
|
743
769
|
<td>
|
744
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line
|
770
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line 45</span>
|
745
771
|
|
746
|
-
<span class='kw'>def</span> <span class='id identifier
|
747
|
-
<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_subscriptions/%{subscription_id}/sources
|
772
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create!'>create!</span><span class='lparen'>(</span><span class='label'>subscription_id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>fields:</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
773
|
+
<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_subscriptions/%{subscription_id}/sources</span><span class='tstring_end'>'</span></span>
|
748
774
|
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
749
775
|
<span class='label'>subscription_id:</span> <span class='id identifier rubyid_subscription_id'>subscription_id</span><span class='comma'>,</span>
|
750
|
-
<span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span>
|
751
776
|
<span class='rbrace'>}</span>
|
752
|
-
<span class='
|
777
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
778
|
+
<span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:type</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_type'>type</span> <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span>
|
779
|
+
<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>
|
780
|
+
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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>
|
753
781
|
<span class='kw'>end</span></pre>
|
754
782
|
</td>
|
755
783
|
</tr>
|
@@ -757,9 +785,9 @@
|
|
757
785
|
</div>
|
758
786
|
|
759
787
|
<div class="method_details ">
|
760
|
-
<h3 class="signature " id="delete
|
788
|
+
<h3 class="signature " id="delete-instance_method">
|
761
789
|
|
762
|
-
#<strong>delete
|
790
|
+
#<strong>delete</strong>(subscription_id: "", type: "") ⇒ <tt>NgrokAPI::Models::Empty</tt>
|
763
791
|
|
764
792
|
|
765
793
|
|
@@ -768,7 +796,7 @@
|
|
768
796
|
</h3><div class="docstring">
|
769
797
|
<div class="discussion">
|
770
798
|
|
771
|
-
<p>Remove a type for which this event subscription will trigger
|
799
|
+
<p>Remove a type for which this event subscription will trigger</p>
|
772
800
|
|
773
801
|
<p><a href="https://ngrok.com/docs/api#api-event-sources-delete">ngrok.com/docs/api#api-event-sources-delete</a></p>
|
774
802
|
|
@@ -842,25 +870,25 @@
|
|
842
870
|
<pre class="lines">
|
843
871
|
|
844
872
|
|
845
|
-
62
|
846
|
-
63
|
847
873
|
64
|
848
874
|
65
|
849
875
|
66
|
850
876
|
67
|
851
877
|
68
|
852
|
-
69
|
878
|
+
69
|
879
|
+
70
|
880
|
+
71</pre>
|
853
881
|
</td>
|
854
882
|
<td>
|
855
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line
|
883
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line 64</span>
|
856
884
|
|
857
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_delete
|
885
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='label'>subscription_id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
858
886
|
<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_subscriptions/%{subscription_id}/sources/%{type}</span><span class='tstring_end'>'</span></span>
|
859
887
|
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
860
888
|
<span class='label'>subscription_id:</span> <span class='id identifier rubyid_subscription_id'>subscription_id</span><span class='comma'>,</span>
|
861
889
|
<span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span>
|
862
890
|
<span class='rbrace'>}</span>
|
863
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='
|
891
|
+
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='rparen'>)</span>
|
864
892
|
<span class='kw'>end</span></pre>
|
865
893
|
</td>
|
866
894
|
</tr>
|
@@ -868,9 +896,9 @@
|
|
868
896
|
</div>
|
869
897
|
|
870
898
|
<div class="method_details ">
|
871
|
-
<h3 class="signature " id="
|
899
|
+
<h3 class="signature " id="delete!-instance_method">
|
872
900
|
|
873
|
-
#<strong>
|
901
|
+
#<strong>delete!</strong>(subscription_id: "", type: "") ⇒ <tt>NgrokAPI::Models::Empty</tt>
|
874
902
|
|
875
903
|
|
876
904
|
|
@@ -879,9 +907,9 @@
|
|
879
907
|
</h3><div class="docstring">
|
880
908
|
<div class="discussion">
|
881
909
|
|
882
|
-
<p>
|
910
|
+
<p>Remove a type for which this event subscription will trigger Throws an exception if API error.</p>
|
883
911
|
|
884
|
-
<p><a href="https://ngrok.com/docs/api#api-event-sources-
|
912
|
+
<p><a href="https://ngrok.com/docs/api#api-event-sources-delete">ngrok.com/docs/api#api-event-sources-delete</a></p>
|
885
913
|
|
886
914
|
|
887
915
|
</div>
|
@@ -934,7 +962,7 @@
|
|
934
962
|
<li>
|
935
963
|
|
936
964
|
|
937
|
-
<span class='type'>(<tt
|
965
|
+
<span class='type'>(<tt>NgrokAPI::Models::Empty</tt>)</span>
|
938
966
|
|
939
967
|
|
940
968
|
|
@@ -953,29 +981,25 @@
|
|
953
981
|
<pre class="lines">
|
954
982
|
|
955
983
|
|
956
|
-
79
|
957
|
-
80
|
958
|
-
81
|
959
984
|
82
|
960
985
|
83
|
961
986
|
84
|
962
987
|
85
|
963
988
|
86
|
964
989
|
87
|
965
|
-
88
|
990
|
+
88
|
991
|
+
89</pre>
|
966
992
|
</td>
|
967
993
|
<td>
|
968
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line
|
994
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line 82</span>
|
969
995
|
|
970
|
-
<span class='kw'>def</span> <span class='id identifier
|
996
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_delete!'>delete!</span><span class='lparen'>(</span><span class='label'>subscription_id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
971
997
|
<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_subscriptions/%{subscription_id}/sources/%{type}</span><span class='tstring_end'>'</span></span>
|
972
998
|
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
973
999
|
<span class='label'>subscription_id:</span> <span class='id identifier rubyid_subscription_id'>subscription_id</span><span class='comma'>,</span>
|
974
1000
|
<span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span>
|
975
1001
|
<span class='rbrace'>}</span>
|
976
|
-
<span class='id identifier
|
977
|
-
<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>
|
978
|
-
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
1002
|
+
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
979
1003
|
<span class='kw'>end</span></pre>
|
980
1004
|
</td>
|
981
1005
|
</tr>
|
@@ -983,9 +1007,9 @@
|
|
983
1007
|
</div>
|
984
1008
|
|
985
1009
|
<div class="method_details ">
|
986
|
-
<h3 class="signature " id="get
|
1010
|
+
<h3 class="signature " id="get-instance_method">
|
987
1011
|
|
988
|
-
#<strong>get
|
1012
|
+
#<strong>get</strong>(subscription_id: "", type: "") ⇒ <tt><span class='object_link'><a href="../Models/EventSource.html" title="NgrokAPI::Models::EventSource (class)">NgrokAPI::Models::EventSource</a></span></tt>
|
989
1013
|
|
990
1014
|
|
991
1015
|
|
@@ -994,7 +1018,7 @@
|
|
994
1018
|
</h3><div class="docstring">
|
995
1019
|
<div class="discussion">
|
996
1020
|
|
997
|
-
<p>Get the details for a given type that triggers for the given event subscription
|
1021
|
+
<p>Get the details for a given type that triggers for the given event subscription</p>
|
998
1022
|
|
999
1023
|
<p><a href="https://ngrok.com/docs/api#api-event-sources-get">ngrok.com/docs/api#api-event-sources-get</a></p>
|
1000
1024
|
|
@@ -1082,6 +1106,121 @@
|
|
1082
1106
|
<td>
|
1083
1107
|
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line 99</span>
|
1084
1108
|
|
1109
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='label'>subscription_id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1110
|
+
<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_subscriptions/%{subscription_id}/sources/%{type}</span><span class='tstring_end'>'</span></span>
|
1111
|
+
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
1112
|
+
<span class='label'>subscription_id:</span> <span class='id identifier rubyid_subscription_id'>subscription_id</span><span class='comma'>,</span>
|
1113
|
+
<span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span>
|
1114
|
+
<span class='rbrace'>}</span>
|
1115
|
+
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1116
|
+
<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>
|
1117
|
+
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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>
|
1118
|
+
<span class='kw'>end</span></pre>
|
1119
|
+
</td>
|
1120
|
+
</tr>
|
1121
|
+
</table>
|
1122
|
+
</div>
|
1123
|
+
|
1124
|
+
<div class="method_details ">
|
1125
|
+
<h3 class="signature " id="get!-instance_method">
|
1126
|
+
|
1127
|
+
#<strong>get!</strong>(subscription_id: "", type: "") ⇒ <tt><span class='object_link'><a href="../Models/EventSource.html" title="NgrokAPI::Models::EventSource (class)">NgrokAPI::Models::EventSource</a></span></tt>
|
1128
|
+
|
1129
|
+
|
1130
|
+
|
1131
|
+
|
1132
|
+
|
1133
|
+
</h3><div class="docstring">
|
1134
|
+
<div class="discussion">
|
1135
|
+
|
1136
|
+
<p>Get the details for a given type that triggers for the given event subscription Throws an exception if API error.</p>
|
1137
|
+
|
1138
|
+
<p><a href="https://ngrok.com/docs/api#api-event-sources-get">ngrok.com/docs/api#api-event-sources-get</a></p>
|
1139
|
+
|
1140
|
+
|
1141
|
+
</div>
|
1142
|
+
</div>
|
1143
|
+
<div class="tags">
|
1144
|
+
<p class="tag_title">Parameters:</p>
|
1145
|
+
<ul class="param">
|
1146
|
+
|
1147
|
+
<li>
|
1148
|
+
|
1149
|
+
<span class='name'>subscription_id</span>
|
1150
|
+
|
1151
|
+
|
1152
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1153
|
+
|
1154
|
+
|
1155
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
1156
|
+
|
1157
|
+
|
1158
|
+
—
|
1159
|
+
<div class='inline'>
|
1160
|
+
<p>The unique identifier for the Event Subscription that this Event Source is attached to.</p>
|
1161
|
+
</div>
|
1162
|
+
|
1163
|
+
</li>
|
1164
|
+
|
1165
|
+
<li>
|
1166
|
+
|
1167
|
+
<span class='name'>type</span>
|
1168
|
+
|
1169
|
+
|
1170
|
+
<span class='type'>(<tt>string</tt>)</span>
|
1171
|
+
|
1172
|
+
|
1173
|
+
<em class="default">(defaults to: <tt>""</tt>)</em>
|
1174
|
+
|
1175
|
+
|
1176
|
+
—
|
1177
|
+
<div class='inline'>
|
1178
|
+
<p>Type of event for which an event subscription will trigger</p>
|
1179
|
+
</div>
|
1180
|
+
|
1181
|
+
</li>
|
1182
|
+
|
1183
|
+
</ul>
|
1184
|
+
|
1185
|
+
<p class="tag_title">Returns:</p>
|
1186
|
+
<ul class="return">
|
1187
|
+
|
1188
|
+
<li>
|
1189
|
+
|
1190
|
+
|
1191
|
+
<span class='type'>(<tt><span class='object_link'><a href="../Models/EventSource.html" title="NgrokAPI::Models::EventSource (class)">NgrokAPI::Models::EventSource</a></span></tt>)</span>
|
1192
|
+
|
1193
|
+
|
1194
|
+
|
1195
|
+
—
|
1196
|
+
<div class='inline'>
|
1197
|
+
<p>result from the API request</p>
|
1198
|
+
</div>
|
1199
|
+
|
1200
|
+
</li>
|
1201
|
+
|
1202
|
+
</ul>
|
1203
|
+
|
1204
|
+
</div><table class="source_code">
|
1205
|
+
<tr>
|
1206
|
+
<td>
|
1207
|
+
<pre class="lines">
|
1208
|
+
|
1209
|
+
|
1210
|
+
119
|
1211
|
+
120
|
1212
|
+
121
|
1213
|
+
122
|
1214
|
+
123
|
1215
|
+
124
|
1216
|
+
125
|
1217
|
+
126
|
1218
|
+
127
|
1219
|
+
128</pre>
|
1220
|
+
</td>
|
1221
|
+
<td>
|
1222
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line 119</span>
|
1223
|
+
|
1085
1224
|
<span class='kw'>def</span> <span class='id identifier rubyid_get!'>get!</span><span class='lparen'>(</span><span class='label'>subscription_id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1086
1225
|
<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_subscriptions/%{subscription_id}/sources/%{type}</span><span class='tstring_end'>'</span></span>
|
1087
1226
|
<span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
@@ -1090,7 +1229,7 @@
|
|
1090
1229
|
<span class='rbrace'>}</span>
|
1091
1230
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1092
1231
|
<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>
|
1093
|
-
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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'>
|
1232
|
+
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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>
|
1094
1233
|
<span class='kw'>end</span></pre>
|
1095
1234
|
</td>
|
1096
1235
|
</tr>
|
@@ -1165,18 +1304,18 @@
|
|
1165
1304
|
<pre class="lines">
|
1166
1305
|
|
1167
1306
|
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1307
|
+
137
|
1308
|
+
138
|
1309
|
+
139
|
1310
|
+
140
|
1311
|
+
141
|
1312
|
+
142
|
1313
|
+
143
|
1314
|
+
144
|
1315
|
+
145</pre>
|
1177
1316
|
</td>
|
1178
1317
|
<td>
|
1179
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line
|
1318
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line 137</span>
|
1180
1319
|
|
1181
1320
|
<span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='label'>subscription_id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1182
1321
|
<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_subscriptions/%{subscription_id}/sources</span><span class='tstring_end'>'</span></span>
|
@@ -1185,7 +1324,7 @@
|
|
1185
1324
|
<span class='rbrace'>}</span>
|
1186
1325
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1187
1326
|
<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>
|
1188
|
-
<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/EventSourceList.html" title="NgrokAPI::Models::EventSourceList (class)">EventSourceList</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSourceList.html#initialize-instance_method" title="NgrokAPI::Models::EventSourceList#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'>
|
1327
|
+
<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/EventSourceList.html" title="NgrokAPI::Models::EventSourceList (class)">EventSourceList</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSourceList.html#initialize-instance_method" title="NgrokAPI::Models::EventSourceList#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>
|
1189
1328
|
<span class='kw'>end</span></pre>
|
1190
1329
|
</td>
|
1191
1330
|
</tr>
|
@@ -1260,18 +1399,18 @@
|
|
1260
1399
|
<pre class="lines">
|
1261
1400
|
|
1262
1401
|
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1402
|
+
155
|
1403
|
+
156
|
1404
|
+
157
|
1405
|
+
158
|
1406
|
+
159
|
1407
|
+
160
|
1408
|
+
161
|
1409
|
+
162
|
1410
|
+
163</pre>
|
1272
1411
|
</td>
|
1273
1412
|
<td>
|
1274
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line
|
1413
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line 155</span>
|
1275
1414
|
|
1276
1415
|
<span class='kw'>def</span> <span class='id identifier rubyid_list!'>list!</span><span class='lparen'>(</span><span class='label'>subscription_id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1277
1416
|
<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_subscriptions/%{subscription_id}/sources</span><span class='tstring_end'>'</span></span>
|
@@ -1280,7 +1419,7 @@
|
|
1280
1419
|
<span class='rbrace'>}</span>
|
1281
1420
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1282
1421
|
<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>
|
1283
|
-
<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/EventSourceList.html" title="NgrokAPI::Models::EventSourceList (class)">EventSourceList</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSourceList.html#initialize-instance_method" title="NgrokAPI::Models::EventSourceList#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'>
|
1422
|
+
<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/EventSourceList.html" title="NgrokAPI::Models::EventSourceList (class)">EventSourceList</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSourceList.html#initialize-instance_method" title="NgrokAPI::Models::EventSourceList#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>
|
1284
1423
|
<span class='kw'>end</span></pre>
|
1285
1424
|
</td>
|
1286
1425
|
</tr>
|
@@ -1373,19 +1512,19 @@
|
|
1373
1512
|
<pre class="lines">
|
1374
1513
|
|
1375
1514
|
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1515
|
+
173
|
1516
|
+
174
|
1517
|
+
175
|
1518
|
+
176
|
1519
|
+
177
|
1520
|
+
178
|
1521
|
+
179
|
1522
|
+
180
|
1523
|
+
181
|
1524
|
+
182</pre>
|
1386
1525
|
</td>
|
1387
1526
|
<td>
|
1388
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line
|
1527
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line 173</span>
|
1389
1528
|
|
1390
1529
|
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='label'>subscription_id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>fields:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1391
1530
|
<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_subscriptions/%{subscription_id}/sources/%{type}</span><span class='tstring_end'>'</span></span>
|
@@ -1395,7 +1534,7 @@
|
|
1395
1534
|
<span class='rbrace'>}</span>
|
1396
1535
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1397
1536
|
<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>
|
1398
|
-
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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'>
|
1537
|
+
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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>
|
1399
1538
|
<span class='kw'>end</span></pre>
|
1400
1539
|
</td>
|
1401
1540
|
</tr>
|
@@ -1488,19 +1627,19 @@
|
|
1488
1627
|
<pre class="lines">
|
1489
1628
|
|
1490
1629
|
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1630
|
+
193
|
1631
|
+
194
|
1632
|
+
195
|
1633
|
+
196
|
1634
|
+
197
|
1635
|
+
198
|
1636
|
+
199
|
1637
|
+
200
|
1638
|
+
201
|
1639
|
+
202</pre>
|
1501
1640
|
</td>
|
1502
1641
|
<td>
|
1503
|
-
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line
|
1642
|
+
<pre class="code"><span class="info file"># File 'lib/ngrokapi/services/event_sources_client.rb', line 193</span>
|
1504
1643
|
|
1505
1644
|
<span class='kw'>def</span> <span class='id identifier rubyid_update!'>update!</span><span class='lparen'>(</span><span class='label'>subscription_id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>fields:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
1506
1645
|
<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_subscriptions/%{subscription_id}/sources/%{type}</span><span class='tstring_end'>'</span></span>
|
@@ -1510,7 +1649,7 @@
|
|
1510
1649
|
<span class='rbrace'>}</span>
|
1511
1650
|
<span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1512
1651
|
<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>
|
1513
|
-
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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'>
|
1652
|
+
<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/EventSource.html" title="NgrokAPI::Models::EventSource (class)">EventSource</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/EventSource.html#initialize-instance_method" title="NgrokAPI::Models::EventSource#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>
|
1514
1653
|
<span class='kw'>end</span></pre>
|
1515
1654
|
</td>
|
1516
1655
|
</tr>
|
@@ -1522,7 +1661,7 @@
|
|
1522
1661
|
</div>
|
1523
1662
|
|
1524
1663
|
<div id="footer">
|
1525
|
-
Generated on
|
1664
|
+
Generated on Mon Apr 11 19:33:00 2022 by
|
1526
1665
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1527
1666
|
0.9.27 (ruby-2.7.5).
|
1528
1667
|
</div>
|