Skip to content

Commit 17f36ef

Browse files
committed
fix: Regional API domain processing
1 parent 48dac8e commit 17f36ef

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/twilio-ruby/base/client_base.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ class ClientBase
55
@@default_region = 'us1'
66
# rubocop:disable Style/ClassVars
77
@@region_mappings = {
8-
"au1" => "sydney",
9-
"br1" => "sao-paulo",
10-
"de1" => "frankfurt",
11-
"ie1" => "dublin",
12-
"jp1" => "tokyo",
13-
"jp2" => "osaka",
14-
"sg1" => "singapore",
15-
"us1" => "ashburn",
16-
"us2" => "umatilla"
8+
'au1' => 'sydney',
9+
'br1' => 'sao-paulo',
10+
'de1' => 'frankfurt',
11+
'ie1' => 'dublin',
12+
'jp1' => 'tokyo',
13+
'jp2' => 'osaka',
14+
'sg1' => 'singapore',
15+
'us1' => 'ashburn',
16+
'us2' => 'umatilla'
1717
}
1818
attr_accessor :http_client, :username, :password, :account_sid, :auth_token, :region , :logger,
1919
:user_agent_extensions, :credentials

0 commit comments

Comments
 (0)