RestClient docs (to the extent that they exist) are here. I don't think your problem is that the API is responding with HTML. My guess would be that RestClient doesn't understand the way you're providing your access credentials. Try using request headers for that instead?
Personally, I prefer the Faraday gem for interacting with APIs - it's a lot better about showing you what's actually going on, especially when there's an error.