xero-ruby
xero-ruby copied to clipboard
Xero Ruby SDK for OAuth 2.0 generated from XeroAPI/Xero-OpenAPI
This PR allows Faraday version 2.
According to the [docs](https://github.com/XeroAPI/xero-ruby/blob/master/lib/xero-ruby/api/accounting_api.rb#L17037), the `summarize_errors` option defaults to `false`. But to skip the `XeroRuby::ApiError` exception and get a mixed set of valid and unvalid results, I have to force...
When where contains values with underscores, those will be incorrectly changed when calling to_param
For example, when searching for items with where (where: ["Code.ToUpper() == \"ITEM_WITH_UNDERSCORE\""]) will be changed to ITEMWITHUNDERSCORE https://github.com/XeroAPI/xero-ruby/blob/53f0118dab4ecaf73d0f2edb3248fbc42fdc2ba0/lib/xero-ruby/api_client.rb#L666
[ where_opts.map { |key, value| parameterize_option(key, value) }.join(' AND ')](https://github.com/XeroAPI/xero-ruby/blob/9eba2a1f19c31837a5fef47483ab2b4290bda92f/lib/xero-ruby/where.rb#L15) This needs to be refactor to incorporate `OR` statements for handling the `WHERE` clause
Hello, so I've successfully integrated the gem with the authentication, refresh and all However, whenever I try any accounting API, I get the following: `ruby/3.1.0/net/http/header.rb:21:in `block in initialize_http_header':` So the...
I'm not sure what the validation rules are but it would be helpful to be able to validate the client id and the secret before making requests to authorise a...
Requiring xero-ruby can take quite awhile because of the number of classes and modules. This time adds up especially for apps that use multiple OpenAPI generated libraries. https://github.com/OpenAPITools/openapi-generator/issues/12648 describes it...
I know I can access the limit attributes in the response headers if I use the `_with_http_info`, however, it would be nice to be able to access them as client...
We try to send Invoices in batch request, number of invoices: ~300. When rescuing `XeroRuby::ApiError => e` the `e` is equal to: `Error message: the server returns an error` (the...