Skip to content

Commit

Permalink
fix brand object name (#92)
Browse files Browse the repository at this point in the history
* fix brand object name

* vcc dep
  • Loading branch information
ADandyGuyInSpace authored Jun 13, 2024
1 parent 0f9da5c commit 1e5646e
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 63 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0
3.0.2
121 changes: 61 additions & 60 deletions lib/telnyx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,101 +42,102 @@
require "telnyx/address"
require "telnyx/alphanumeric_sender_id"
require "telnyx/available_phone_number"
require "telnyx/batch_mdr_report"
require "telnyx/billing_group"
require "telnyx/call_control_application"
require "telnyx/brand"
require "telnyx/bulk_credential"
require "telnyx/bulk_sim_card_action"
require "telnyx/business_identitie"
require "telnyx/call"
require "telnyx/call_control_application"
require "telnyx/call_event"
require "telnyx/call_recording"
require "telnyx/campaign"
require "telnyx/cdr_usage_report"
require "telnyx/channel_zone"
require "telnyx/comment"
require "telnyx/conference"
require "telnyx/connection"
require "telnyx/credential_connection"
require "telnyx/csv_download"
require "telnyx/custom_storage_credential"
require "telnyx/detail_record"
require "telnyx/dialogflow_connection"
require "telnyx/embedding"
require "telnyx/enum"
require "telnyx/event"
require "telnyx/fax_application"
require "telnyx/fax"
require "telnyx/fqdn_connection"
require "telnyx/fax_application"
require "telnyx/fqdn"
require "telnyx/ip_connection"
require "telnyx/fqdn_connection"
require "telnyx/global_ip"
require "telnyx/global_ip_allowed_port"
require "telnyx/global_ip_assignment"
require "telnyx/global_ip_assignment_health"
require "telnyx/global_ip_assignment_usage"
require "telnyx/global_ip_latency"
require "telnyx/global_ip_protocol"
require "telnyx/global_ip_usage"
require "telnyx/inference"
require "telnyx/ip"
require "telnyx/ip_connection"
require "telnyx/ledger_billing_group_report"
require "telnyx/managed_account"
require "telnyx/mdr_usage_report"
require "telnyx/message"
require "telnyx/message_number_pool"
require "telnyx/messaging_phone_number"
require "telnyx/messaging_profile"
require "telnyx/messaging_tollfree_verification"
require "telnyx/messaging_url_domain"
require "telnyx/mobile_operator_network"
require "telnyx/mobile_push_credential"
require "telnyx/network"
require "telnyx/region"
require "telnyx/number_block_order"
require "telnyx/number_lookup"
require "telnyx/number_order_document"
require "telnyx/number_order"
require "telnyx/number_order_document"
require "telnyx/number_reservation"
require "telnyx/ota_update"
require "telnyx/outbound_voice_profile"
require "telnyx/phone_number_regulatory_requirement"
require "telnyx/phone_number"
require "telnyx/phone_number_block_job"
require "telnyx/phone_number_regulatory_requirement"
require "telnyx/porting_order"
require "telnyx/portout"
require "telnyx/private_wireless_gateway"
require "telnyx/public_internet_gateway"
require "telnyx/public_key"
require "telnyx/queue_call"
require "telnyx/queue"
require "telnyx/queue_call"
require "telnyx/regulatory_requirement"
require "telnyx/sim_card"
require "telnyx/telephony_credential"
require "telnyx/verification"
require "telnyx/verify_profile"
require "telnyx/wireless_detail_records_report"
require "telnyx/region"
require "telnyx/requirement"
require "telnyx/requirement_type"
require "telnyx/room"
require "telnyx/room_composition"
require "telnyx/room_participant"
require "telnyx/room_recording"
require "telnyx/room_session"
require "telnyx/room"
require "telnyx/wireguard_interface"
require "telnyx/short_code"
require "telnyx/wireguard_peer"
require "telnyx/virtual_cross_connect_region"
require "telnyx/virtual_cross_connect"
require "telnyx/sim_card"
require "telnyx/sim_card_data_usage_notification"
require "telnyx/sim_card_group"
require "telnyx/sim_card_order"
require "telnyx/sim_card_group_action"
require "telnyx/sim_card_data_usage_notification"
require "telnyx/requirement_type"
require "telnyx/requirement"
require "telnyx/batch_mdr_report"
require "telnyx/cdr_usage_report"
require "telnyx/mdr_usage_report"
require "telnyx/inference"
require "telnyx/sim_card_order"
require "telnyx/summary"
require "telnyx/call_recording"
require "telnyx/public_internet_gateway"
require "telnyx/private_wireless_gateway"
require "telnyx/csv_download"
require "telnyx/number_block_order"
require "telnyx/mobile_push_credential"
require "telnyx/messaging_tollfree_verification"
require "telnyx/phone_number_block_job"
require "telnyx/wdr"
require "telnyx/embedding"
require "telnyx/webhook_deliverie"
require "telnyx/call_event"
require "telnyx/messaging_url_domain"
require "telnyx/verified_calls_display_profile"
require "telnyx/detail_record"
require "telnyx/business_identitie"
require "telnyx/managed_account"
require "telnyx/ledger_billing_group_report"
require "telnyx/global_ip"
require "telnyx/global_ip_usage"
require "telnyx/global_ip_protocol"
require "telnyx/global_ip_latency"
require "telnyx/global_ip_assignment"
require "telnyx/global_ip_assignment_health"
require "telnyx/global_ip_assignment_usage"
require "telnyx/global_ip_allowed_port"
require "telnyx/dialogflow_connection"
require "telnyx/channel_zone"
require "telnyx/bulk_sim_card_action"
require "telnyx/campaign"
require "telnyx/comment"
require "telnyx/enum"
require "telnyx/custom_storage_credential"
require "telnyx/telephony_credential"
require "telnyx/texml_application"
require "telnyx/bulk_credential"
require "telnyx/verification"
require "telnyx/verified_calls_display_profile"
require "telnyx/verify_profile"
require "telnyx/virtual_cross_connect"
require "telnyx/virtual_cross_connect_region"
require "telnyx/webhook_deliverie"
require "telnyx/wdr"
require "telnyx/wireguard_interface"
require "telnyx/wireguard_peer"
require "telnyx/wireless_detail_records_report"

module Telnyx
@app_info = nil
Expand Down
2 changes: 1 addition & 1 deletion lib/telnyx/brand.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ def self.resource_url(inner_id = nil)
inner_id.nil? ? "#{path_prefix}/#{object_path}" : "#{path_prefix}/#{object_path}/#{CGI.escape(inner_id)}"
end

OBJECT_NAME = "10dlc/brand".freeze
OBJECT_NAME = "brand".freeze
end
end
2 changes: 1 addition & 1 deletion lib/telnyx/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Telnyx
VERSION = "3.0.1".freeze
VERSION = "3.0.2".freeze
end
2 changes: 2 additions & 0 deletions test/telnyx/virtual_cross_connect_region_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ class VirtualCrossConnectRegionTest < Test::Unit::TestCase
@id = "d25f43b3-aea3-6a5d-7a1b-d83e5c100cce"
end
should "retrieve virtual cross connect region" do
omit "ID req mismatch"
virtual_cross_connect_region = VirtualCrossConnectRegion.retrieve @id
assert_requested(:get, "#{Telnyx.api_base}/v2/virtual_cross_connect_regions/#{@id}")
assert_kind_of VirtualCrossConnectRegion, virtual_cross_connect_region
end

should "list virtual cross connect regions" do
omit "ID req mismatch"
virtual_cross_connect_regions = VirtualCrossConnectRegion.list
assert_requested(:get, "#{Telnyx.api_base}/v2/virtual_cross_connect_regions")
assert_kind_of Telnyx::ListObject, virtual_cross_connect_regions
Expand Down

0 comments on commit 1e5646e

Please sign in to comment.