I now that API responses to update_with_media include information about rate limit in the headers.
https://dev.twitter.com/docs/api/1.1/post/statuses/update_with_media
Is there any way to access this data in the Twitter::Tweet object that is returned by the update_with_media method (or anywhere else)? I'd like to stop sending media instead of hitting the rate limit, and I'd like to know when I can start sending it again after my rate limit has been reset. I have the same question for other methods/rate limits, but this is the one I'm most concerned about and least able to find in the documentation.
If this isn't possible, are there any adverse effects to hitting the rate limit all day long (after the first 30 media are used up)? I thought I read something about being banned for excessive rate limiting.
Thanks!
AH