Skip to content

Commit 9c59209

Browse files
committed
fix: Regional API domain processing
1 parent 86f84f4 commit 9c59209

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/twilio-ruby/base/client_base.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module Twilio
22
module REST
33
class ClientBase
4+
# rubocop:disable Style/ClassVars
45
@@default_region = 'us1'
56
@@region_mappings = {
67
'au1' => 'sydney',
@@ -13,6 +14,8 @@ class ClientBase
1314
'us1' => 'ashburn',
1415
'us2' => 'umatilla'
1516
}
17+
# rubocop:enable Style/ClassVars
18+
1619
attr_accessor :http_client, :username, :password, :account_sid, :auth_token, :region, :logger,
1720
:user_agent_extensions, :credentials
1821

0 commit comments

Comments
 (0)