Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid NoMethodError #261

Closed
wants to merge 1 commit into from
Closed

Avoid NoMethodError #261

wants to merge 1 commit into from

Conversation

ppworks
Copy link

@ppworks ppworks commented Jul 14, 2016

If you use faraday_middleware and set request to :json,
you'll get "NoMethodError: undefined method `encode' for #Hash:0x007ff31c8487a0" in https://github.com/intridea/oauth2/blob/fb502c755ed8801aa5d4575f18b86a9b7ecf9f5e/lib/oauth2/error.rb#L28 .

This fixes avoid NoMethodError exception.

If you use faraday_middleware and set request to :json,
you'll get "NoMethodError: undefined method `encode' for #<Hash:0x007ff31c8487a0>" in https://github.com/intridea/oauth2/blob/fb502c755ed8801aa5d4575f18b86a9b7ecf9f5e/lib/oauth2/error.rb#L28
@josephpage
Copy link
Member

Hey @ppworks
Sorry for the delay... The gem now has a new team of maintainers! 🎉
Can you rebase the commit to force Travis builds to be executed again ?

@josephpage josephpage self-requested a review January 12, 2018 13:26
@josephpage josephpage self-assigned this Jan 12, 2018
@josephpage josephpage added this to the 1.5.0 milestone Jan 12, 2018
@josephpage josephpage added the bug label Jan 12, 2018
@pboling
Copy link
Member

pboling commented May 8, 2018

Fixed by #380

@pboling pboling closed this May 8, 2018
@pboling pboling removed this from the 2.0.0 milestone Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants