Sha256: cb011e046ffa17d6d0f9d9d155519311c548f8340cdc2fd6f4c272f51841e024
Contents?: true
Size: 375 Bytes
Versions: 1
Compression:
Stored size: 375 Bytes
Contents
# coding: utf-8 require 'carrierwave' module CarrierWave module Storage class Nos < Abstract def store!(file) f = NosFile.new(uploader, self, uploader.store_path) f.store(::File.open(file.file)) f end def retrieve!(identifier) NosFile.new(uploader, self, uploader.store_path(identifier)) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
carrierwave-nos-0.1.0 | lib/carrierwave/storage/nos.rb |