Public Instance methods
find_storage(name)
[show source]
# File lib/shrine/plugins/dynamic_storage.rb 16 def find_storage(name) 17 resolve_dynamic_storage(name) or super 18 end
storage(regex, &block)
[show source]
# File lib/shrine/plugins/dynamic_storage.rb 12 def storage(regex, &block) 13 opts[:dynamic_storage][:resolvers][regex] = block 14 end