Sha256: ff3284527431f3d2f646c2fb444d71def64deef474c8e54ccbf2b61b044ea02e
Contents?: true
Size: 636 Bytes
Versions: 9
Compression:
Stored size: 636 Bytes
Contents
# frozen_string_literal: true require_relative "../test_helper" module Telnyx class RegulatoryRequirementTest < Test::Unit::TestCase should "be retrievable" do reg_req = RegulatoryRequirement.retrieve "12345" assert_requested :get, "#{Telnyx.api_base}/v2/regulatory_requirements/12345" assert_kind_of RegulatoryRequirement, reg_req end should "be listable" do reg_reqs = RegulatoryRequirement.list assert_requested :get, "#{Telnyx.api_base}/v2/regulatory_requirements" assert_kind_of Array, reg_reqs.data assert_kind_of RegulatoryRequirement, reg_reqs.first end end end
Version data entries
9 entries across 9 versions & 1 rubygems