Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sending remaining options with query #592

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

danielwestendorf
Copy link
Contributor

  • Append all non-standard options to the query url
  • Rely on Faraday's query string encoding

Some endpoints (like invoice) require additional parameters on the query URL to get additional attributes (like include=invoiceLink).

+ Append all non-standard options to the query url
+ Rely on Faraday's query string encoding

Some endpoints (like invoice) require additional parameters on the query URL to get additional attributes (like include=invoiceLink).
@vanboom
Copy link
Contributor

vanboom commented Jan 19, 2023

👍 Tested in our app and this PR is working great.

invoice = invoice_service.find_by( doc_number: dn, include: "invoiceLink" )

vanboom added a commit to vanboom/quickbooks-ruby that referenced this pull request Jan 19, 2023
@danielwestendorf danielwestendorf marked this pull request as ready for review June 8, 2023 13:48
@ruckus ruckus merged commit 5c19c7e into ruckus:master Jun 20, 2023
@ruckus
Copy link
Owner

ruckus commented Jun 20, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants