-
Notifications
You must be signed in to change notification settings - Fork 58
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
ArgumentError (An hash is required as parameter): #56
Comments
Hi @SantaMinus Could you detail platform and summoner_id so I can have a look at what this edge case is? |
I think I found and fixed the issue. Can you try to target the github repo directly (see this for info: http://bundler.io/git.html) to confirm this bug is solved? Then we'll release a new version |
It works now! Thank you very much! |
When I call:
@game_request.spectator_game_info(get_platform(@player.region), @player.summoner_id),
I get an error:
**ArgumentError: An hash is required as parameter
from */ruby-lol-0.12.1/lib/lol/dynamic_model.rb:11:in `initialize'
Debugging shows that hash variable's class is HTTParty::Response in initialize. Should I convert it to a hash somehow?
This problem appeared a day ago, I haven't encountered such error before.
Please help me get rid of it.
Thank you in advance!
The text was updated successfully, but these errors were encountered: