-
Notifications
You must be signed in to change notification settings - Fork 12
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
rest-core [3.0.0] and Ruby 2.4.0. Not able to build client #23
Comments
Sorry, I am not exactly sure what's the issue you're seeing? Could you describe it? I don't see any errors in your post, and I just tried it and it worked fine. |
Thanks for looking into it.
Well this is what I am doing
Please let me know if anything you want to know more. And thanks again for you time. |
@VivekTamtaFluke Sorry that I edited your post to fix the format, otherwise it's very hard to read it. First that you're using an very old version, so please upgrade to 4.0.0. And I am still not sure why you're saying that you got In your case, you might want to: client = YourClient.new
client.get('VivekTamtaFluke') So then you're making a request to Please try it and let me know if you have other questions. |
@godfat Thanks for editing the post. Yes I am using old version. Since in the later versions the middleware and wrapper layer is combined and we have a legacy code which I am currently not authorised to change. Meanwhile what I am trying here is to get the same output which I get when I run this with Ruby 2.0.0. and rest-core 2.1.2
and getting this
You can see here I am getting something in response, which is not the case with Ruby 2.4.0 and rest-core 3.0.0 Can you help me to understand what wrong I am doing here. |
@VivekTamtaFluke ok, we could forget about upgrading for now, but if you're going to use Ruby 2.4.0, I am not very sure if that would work, because the warnings you're seeing. I still don't understand what's the response you're talking about? You didn't make any requests in the code you posted, so of course you're not getting any response. This should be the same across any of the versions. Like I said before, you would want to make a request like this: client.get('VivekTamtaFluke') |
While working on Ruby 2.4.0 and using rest-core 3.0.0 I am not able to build client as per the document goes.
Getting response as above
Please guide me on how to resolve this.
Thanks in advance.
The text was updated successfully, but these errors were encountered: