XeroAPI / xero-ruby

Xero Ruby SDK for OAuth 2.0 generated from XeroAPI/Xero-OpenAPI
http://developer.xero.com/
MIT License
58 stars 91 forks source link

How can I view rate limit threshold warnings for GET responses #275

Open bertiecroll opened 8 months ago

bertiecroll commented 8 months ago

Hi,

I am looking to ensure GET requests for accounting resources are not exceeding the high volume threshold limits as described in the docs.

The docs advise that currently a warning message to the payload of requests that exceed the limit will be added, however I'm struggling to see how I would check for these warnings via the gem. For example, neither accounting_api.get_invoices or accounting_api.get_invoices_with_http_info look to have the warnings field I would need to check.

Any help or assistance in how best to check for this would be much appreciated, thanks!

github-actions[bot] commented 8 months ago

PETOSS-409

github-actions[bot] commented 8 months ago

Thanks for raising an issue, a ticket has been created to track your request