From 02a454384432531ab841cb2f6a612f4bff6da69e Mon Sep 17 00:00:00 2001 From: d-telnyx <68876596+d-telnyx@users.noreply.github.com> Date: Mon, 29 Mar 2021 17:34:48 -0400 Subject: [PATCH] updating version information for release (#59) * updating version information for release * update path for phone_numbers_regulatory_requirements --- .gitignore | 1 + VERSION | 2 +- lib/telnyx/phone_number_regulatory_requirement.rb | 1 + lib/telnyx/version.rb | 2 +- test/telnyx/phone_number_regulatory_requirement_test.rb | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6e1b011..d4fc458 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ tags /.bundle/ coverage/ .idea/ +vendor/* \ No newline at end of file diff --git a/VERSION b/VERSION index 197c4d5..437459c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.4.0 +2.5.0 diff --git a/lib/telnyx/phone_number_regulatory_requirement.rb b/lib/telnyx/phone_number_regulatory_requirement.rb index 583d745..ea389ff 100644 --- a/lib/telnyx/phone_number_regulatory_requirement.rb +++ b/lib/telnyx/phone_number_regulatory_requirement.rb @@ -5,5 +5,6 @@ class PhoneNumberRegulatoryRequirement < APIResource extend APIOperations::List OBJECT_NAME = "phone_number_regulatory_requirement".freeze + RESOURCE_PATH = "phone_numbers_regulatory_requirements".freeze end end diff --git a/lib/telnyx/version.rb b/lib/telnyx/version.rb index ee17ef8..7488c2a 100644 --- a/lib/telnyx/version.rb +++ b/lib/telnyx/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Telnyx - VERSION = "2.4.0".freeze + VERSION = "2.5.0".freeze end diff --git a/test/telnyx/phone_number_regulatory_requirement_test.rb b/test/telnyx/phone_number_regulatory_requirement_test.rb index 5361fbb..d2595ae 100644 --- a/test/telnyx/phone_number_regulatory_requirement_test.rb +++ b/test/telnyx/phone_number_regulatory_requirement_test.rb @@ -7,7 +7,7 @@ module Telnyx class PhoneNumberRegulatoryRequirementTest < Test::Unit::TestCase should "be listable" do phone_number_reg_req = PhoneNumberRegulatoryRequirement.list - assert_requested :get, "#{Telnyx.api_base}/v2/phone_number_regulatory_requirements" + assert_requested :get, "#{Telnyx.api_base}/v2/phone_numbers_regulatory_requirements" assert_kind_of PhoneNumberRegulatoryRequirement, phone_number_reg_req.first end end