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 `values_at' for nil:NilClass) #50

Closed
bugdimes opened this issue Jun 28, 2022 · 3 comments
Closed

NoMethodError (undefined method `values_at' for nil:NilClass) #50

bugdimes opened this issue Jun 28, 2022 · 3 comments

Comments

@bugdimes
Copy link

bugdimes commented Jun 28, 2022

Hi @koshilife
I have setup a client object by passing my "personal access token" to the class using
client = Calendly::Client.new token

when I perform client.me It returns below error

By the way, Thanks for making such client

By the way
My Ruby version: 2.7.5
Faraday: 0.15.4

WARNING: No adapter was configured for this request
Traceback (most recent call last):
        1: from (irb):13
NoMethodError (undefined method `values_at' for nil:NilClass)

@koshilife
Copy link
Owner

@bugdimes thanks for reaching out.

It might be caused by your faraday version which was old.
When I used the same version of faraday (0.15.4), I could reproduce it.
Also, I could confirm that it worked using Faraday 1.0.0 and 2.3.0.

I will think about improving the definition of dependencies.

@bugdimes
Copy link
Author

bugdimes commented Jun 28, 2022

Thanks @koshilife for the quick response
Yes, upgrading my Faraday version solved the issue,
Thanks,
Also, I want to contribute to this project, Please let me know If there is any way. Thanks

@koshilife
Copy link
Owner

Also, I want to contribute to this project, Please let me know If there is any way. Thanks

Thank you for your kind consideration and also for sending an email.
Now, The information about this repo is only this GitHub repo and an auto-generated rubydoc.info.

If you have good ideas for improving or confusing things, you can open issues and PRs anytime. You are very welcome.

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

2 participants