14 15 16
# File 'lib/carrierwave/storage/nos.rb', line 14 def retrieve!(identifier) NosFile.new(uploader, self, uploader.store_path(identifier)) end
8 9 10 11 12
# File 'lib/carrierwave/storage/nos.rb', line 8 def store!(file) f = NosFile.new(uploader, self, uploader.store_path) f.store(::File.open(file.file)) f end