Skip to content

Commit

Permalink
feat: add oauth support for ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
manisha1997 committed Nov 13, 2024
1 parent 17bbaf9 commit 0447a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/twilio-ruby/base/client_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def request(host, port, method, uri, params = {}, data = {}, headers = {}, auth
@logger.debug("Request Params:#{params}")
end

auth = @credential_provider.to_auth_strategy.auth_string if @credential_provider
auth = @credentials.to_auth_strategy.auth_string unless @credentials.nil?

response = @http_client.request(
host,
Expand Down

0 comments on commit 0447a49

Please sign in to comment.