Class: Telnyx::Resources::GlobalIPLatency
- Inherits:
-
Object
- Object
- Telnyx::Resources::GlobalIPLatency
- Defined in:
- lib/telnyx/resources/global_ip_latency.rb
Overview
Global IPs
Instance Method Summary collapse
-
#initialize(client:) ⇒ GlobalIPLatency
constructor
private
A new instance of GlobalIPLatency.
-
#retrieve(filter: nil, request_options: {}) ⇒ Telnyx::Models::GlobalIPLatencyRetrieveResponse
Some parameter documentations has been truncated, see Models::GlobalIPLatencyRetrieveParams for more details.
Constructor Details
#initialize(client:) ⇒ GlobalIPLatency
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of GlobalIPLatency.
36 37 38 |
# File 'lib/telnyx/resources/global_ip_latency.rb', line 36 def initialize(client:) @client = client end |
Instance Method Details
#retrieve(filter: nil, request_options: {}) ⇒ Telnyx::Models::GlobalIPLatencyRetrieveResponse
Some parameter documentations has been truncated, see Models::GlobalIPLatencyRetrieveParams for more details.
Global IP Latency Metrics
21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/telnyx/resources/global_ip_latency.rb', line 21 def retrieve(params = {}) parsed, = Telnyx::GlobalIPLatencyRetrieveParams.dump_request(params) query = Telnyx::Internal::Util.encode_query_params(parsed) @client.request( method: :get, path: "global_ip_latency", query: query, model: Telnyx::Models::GlobalIPLatencyRetrieveResponse, options: ) end |