Class: CarrierWave::Storage::SCP
- Inherits:
-
Abstract
- Object
- Abstract
- CarrierWave::Storage::SCP
- Defined in:
- lib/carrierwave/storage/scp.rb
Defined Under Namespace
Classes: File
Instance Method Summary collapse
Instance Method Details
#retrieve!(identifier) ⇒ Object
11 12 13 |
# File 'lib/carrierwave/storage/scp.rb', line 11 def retrieve!(identifier) CarrierWave::Storage::SCP::File.new(uploader, self, uploader.store_path(identifier)) end |
#store!(file) ⇒ Object
5 6 7 8 9 |
# File 'lib/carrierwave/storage/scp.rb', line 5 def store!(file) f = CarrierWave::Storage::SCP::File.new(uploader, self, uploader.store_path) f.store(file) f end |