Sha256: f43861bbf07147306e46f951dee093a645f040d496a9eb43959dfd555a111810

Contents?: true

Size: 395 Bytes

Versions: 5

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

require_relative "../test_helper"

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

Version data entries

5 entries across 5 versions & 1 rubygems

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