Sha256: c095af58172327434cd472c2c135f4273372d55cec80f4418a1a3af55c6954d8

Contents?: true

Size: 387 Bytes

Versions: 5

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

require_relative "../test_helper"

module Telnyx
  class GlobalIpProtocolTest < Test::Unit::TestCase
    should "list ip usage" do
      protocols = GlobalIpProtocol.list
      assert_requested :get, "#{Telnyx.api_base}/v2/global_ip_protocols"
      assert_kind_of ListObject, protocols
      assert_kind_of TelnyxObject, protocols.first
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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