Sha256: d31d1c9784f01f92e4d1922b06d958e08e0e4c3129abdeb1b44f2e22928f7d97

Contents?: true

Size: 385 Bytes

Versions: 5

Compression:

Stored size: 385 Bytes

Contents

# frozen_string_literal: true

require_relative "../test_helper"

module Telnyx
  class GlobalIpAllowedPortTest < Test::Unit::TestCase
    should "list ip usage" do
      ports = GlobalIpAllowedPort.list
      assert_requested :get, "#{Telnyx.api_base}/v2/global_ip_allowed_ports"
      assert_kind_of ListObject, ports
      assert_kind_of TelnyxObject, ports.first
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
telnyx-3.0.5 test/telnyx/global_ip_allowed_port_test.rb
telnyx-3.0.4 test/telnyx/global_ip_allowed_port_test.rb
telnyx-3.0.3 test/telnyx/global_ip_allowed_port_test.rb
telnyx-3.0.2 test/telnyx/global_ip_allowed_port_test.rb
telnyx-3.0.0 test/telnyx/global_ip_allowed_port_test.rb