Open fluke opened 10 years ago
Actually it seems that you're requesting json and converting it to a ruby hash. My bad. Is there a way to turn this off it I want to work with the json?
This issue is quite old, but just in case anyone else comes across it:
https://github.com/emorikawa/linkedin-oauth2/blob/master/lib/linked_in/api_resource.rb#L44-L50
I imagine all you'd need to do is overwrite the get method there, and do everything the same expect return just the response.body (without converting)
According to the LinkedIn API:
Indicating you want to use JSON or JSONP
There doesn't seem to be anything documented for this. But it seems like it'd be easy to implement.