shrinerb / shrine

File Attachment toolkit for Ruby applications
https://shrinerb.com
MIT License
3.18k stars 275 forks source link

Is it possible to pass storage config dynamically ? #668

Closed troptropcontent closed 9 months ago

troptropcontent commented 9 months ago

Hello

Happy new year, i hope that you are doing well

I would like to let my users decide in wich storage they want to storage there files (by providing there credentisl)

Is it possible to pass credentials at the uploader lever ?

To do something like

MyUploader.upload(file, {credentials})

?

Thank you so much for you help