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

NoMethodError: undefined method `on_complete' #4

Open
lfallet opened this issue Sep 24, 2014 · 0 comments
Open

NoMethodError: undefined method `on_complete' #4

lfallet opened this issue Sep 24, 2014 · 0 comments

Comments

@lfallet
Copy link

lfallet commented Sep 24, 2014

Version 2.0.0 works fine, but switching to 2.0.2 throws an error when authenticating:

> CloudConnect::Client.new.login
NoMethodError: undefined method `on_complete' for nil:NilClass
from /home/laurent/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/bundler/gems/cloud_connect-5dc49ed752be/lib/faraday/cookie_auth.rb:8:in `call'

env[:response].on_complete throws the nil, and Faraday's readme is giving this example: @app.call(env).on_complete

Is it working on your side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant