More options for file uploads#8
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 notifications@github.com:
|
|
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.
description should be optional too
defined $opts->{ description } ? ( description => $opts->{ description } ) : ()
atoomic
left a comment
There was a problem hiding this comment.
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.