-
Notifications
You must be signed in to change notification settings - Fork 130
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 select field to folders find method #500
Add select field to folders find method #500
Conversation
@@ -28,9 +28,10 @@ def list(identifier:, query_params: nil) | |||
# @param identifier [String] Grant ID or email account to query. | |||
# @param folder_id [String] The id of the folder to return. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the doc comments
@@ -42,7 +42,7 @@ | |||
folder_id = "5d3qmne77v32r8l4phyuksl2x" | |||
path = "#{api_uri}/v3/grants/#{identifier}/folders/#{folder_id}" | |||
allow(folders).to receive(:get) | |||
.with(path: path) | |||
.with(path: path, query_params: nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a new test that tests the query param as well
Thanks for this! Just noticed that threads.find is also missing the same. Any chance we could get that while you're at it? |
Sure, thanks for pointing that out. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #500 +/- ##
==========================================
- Coverage 99.85% 98.83% -1.02%
==========================================
Files 24 29 +5
Lines 681 774 +93
==========================================
+ Hits 680 765 +85
- Misses 1 9 +8 ☔ View full report in Codecov by Sentry. |
FYI I've tried this out in production and it's working well. Thank you! |
Description
select
field toGET folders/id
License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.