Class: Telnyx::Resources::GlobalIPProtocols
- Inherits:
-
Object
- Object
- Telnyx::Resources::GlobalIPProtocols
- Defined in:
- lib/telnyx/resources/global_ip_protocols.rb,
sig/telnyx/resources/global_ip_protocols.rbs
Overview
Global IPs
Instance Method Summary collapse
-
#initialize(client:) ⇒ GlobalIPProtocols
constructor
private
A new instance of GlobalIPProtocols.
-
#list(request_options: {}) ⇒ Telnyx::Models::GlobalIPProtocolListResponse
Returns the network protocols supported for Global IP traffic, for use when configuring Global IP resources.
Constructor Details
#initialize(client:) ⇒ GlobalIPProtocols
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 GlobalIPProtocols.
29 30 31 |
# File 'lib/telnyx/resources/global_ip_protocols.rb', line 29 def initialize(client:) @client = client end |
Instance Method Details
#list(request_options: {}) ⇒ Telnyx::Models::GlobalIPProtocolListResponse
Returns the network protocols supported for Global IP traffic, for use when configuring Global IP resources.
17 18 19 20 21 22 23 24 |
# File 'lib/telnyx/resources/global_ip_protocols.rb', line 17 def list(params = {}) @client.request( method: :get, path: "global_ip_protocols", model: Telnyx::Models::GlobalIPProtocolListResponse, options: params[:request_options] ) end |