-
Notifications
You must be signed in to change notification settings - Fork 22
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
More options for file uploads #8
base: master
Are you sure you want to change the base?
Conversation
Add possibility to set title and description when uploading files.
Can you also add it to the POD docs, and provide an example so people know how to use it, please? |
Ok, I'll update that as well. Regards 2014-11-20 9:17 GMT+01:00 Mike Schilli [email protected]:
|
this looks good, but still need some POD update and basic usage so people can start using this feature. @martin67 are you still interested to add some doc/examples? |
@martin67 just checking if you are still interested adding the POD for this new feature? |
With the addition of the Using this code you can do:
The rename method was not available when @martin67 submitted this code, but now you can do the same thing with:
I'd be inclined to add a |
@NetworkNed description method could be useful, feel free to submit a PR with it |
Hi @NetworkNed I would like to know if you could rebase your branch and provide some POD for it? |
This isn't my branch. Were you thinking of @martin67? My contributions were completed with 514b2e8 and 763baeb With my comment above I intended to express that I think this pull request is obsolete and can be closed. |
oops sorry @NetworkNed I went too fast on it and was thinking you were the original author. |
{ mimeType => $mime_type, | ||
parents => [ { id => $parent_id } ], | ||
title => $opts->{ title } ? $opts->{ title } : $title, | ||
description => $opts->{ description }, |
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.
description should be optional too
defined $opts->{ description } ? ( description => $opts->{ description } ) : ()
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.
please make description optional and add some pod to advertise these new options
@martin67 I can notice that this PR was waiting for some extra work from your side |
Add possibility to set custom title and/or description of the uploaded file.