Is it possible to pass storage config dynamically ? #669
troptropcontent
started this conversation in
General
Replies: 1 comment 2 replies
-
Oups sorry i did not see that there where a discussion !! I might try something like this unique_id_key = rand()
class MyUploader < Shrine;end
uploader = MyUploader.new(unique_id_key.to_sym)
# And here i touch the singleton of uploader to add the unique_id_key storage to the storages Do you think that i could work ? 🤔 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions