Skip to content

Braintree::OAuthGateway#revoke_access_token ErrorResult is used in an invalid way #226

@jameswritescode

Description

@jameswritescode

General information

  • SDK/Library version: 4.7 but present in master
  • Environment: N/A
  • Language, language version, and OS: N/A

Issue description

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.

https://github.com/braintree/braintree_ruby/blob/4.7.0/lib/braintree/oauth_gateway.rb#L41

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions