-
Notifications
You must be signed in to change notification settings - Fork 42
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 extended parameter list folder #1
base: master
Are you sure you want to change the base?
Add extended parameter list folder #1
Conversation
recursive = false, | ||
include_media_info = false, | ||
include_deleted = false, | ||
include_has_explicit_shared_members = false ) |
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.
how about
def list_folder(path, recursive: false, include_media_info: false, include_deleted: false, include_has_explicit_shared_members: false)
end
?
This way we can explicitly pass the parameters as key-value pairs.
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.
+1 as this feels more ruby-esque
and bump as I'm in need of the recursive option right now. =P
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.
@epylinkn before this PR is merged, you can use this fork for now
https://github.com/gogovan/dropbox-sdk-ruby/tree/list-folder-method-allows-params
@waits Any chance of merging this soon? Thanks! |
@PascalSenn nice thanks! |
adds extended parameters for fields for