Skip to content

Commit 063dbda

Browse files
author
childish-sambino
authored
Use the 'base_url' instead of the 'host' for HTTP client URL (#466)
1 parent d0f3341 commit 063dbda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/twilio-ruby/framework/domain.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def request(method, uri, params = {}, data = {}, headers = {}, auth = nil, timeo
2020
url = uri.match(/^http/) ? uri : absolute_url(uri)
2121

2222
@client.request(
23-
@host,
23+
@base_url,
2424
@port,
2525
method,
2626
url,

0 commit comments

Comments
 (0)