Open jameswritescode opened 2 years ago
When calling on OAuthGateway#revoke_access_token you could possibly get an ErrorResult, but the second parameter of ErrorResult is expected to be a Hash, not a String.
OAuthGateway#revoke_access_token
ErrorResult
https://github.com/braintree/braintree_ruby/blob/4.7.0/lib/braintree/oauth_gateway.rb#L41
👋 @jameswritescode Thanks for bringing this to our attention! We'll partner with the engineering team that owns OAuth to get this fixed.
for internal tracking, ticket 1906
General information
Issue description
When calling on
OAuthGateway#revoke_access_token
you could possibly get anErrorResult
, but the second parameter ofErrorResult
is expected to be a Hash, not a String.https://github.com/braintree/braintree_ruby/blob/4.7.0/lib/braintree/oauth_gateway.rb#L41