Class: CarrierWave::Storage::Grandcloud
- Inherits:
-
Abstract
- Object
- Abstract
- CarrierWave::Storage::Grandcloud
- Defined in:
- lib/carrierwave/storage/grandcloud.rb
Defined Under Namespace
Classes: File
Instance Method Summary collapse
Instance Method Details
#retrieve!(identifier) ⇒ Object
95 96 97 |
# File 'lib/carrierwave/storage/grandcloud.rb', line 95 def retrieve!(identifier) CarrierWave::Storage::Grandcloud::File.new(uploader, self, uploader.store_path(identifier)) end |
#store!(file) ⇒ Object
89 90 91 92 93 |
# File 'lib/carrierwave/storage/grandcloud.rb', line 89 def store!(file) f = CarrierWave::Storage::Grandcloud::File.new(uploader, self, uploader.store_path) f.store(file.read) f end |