Method: Oode::Uploader#upload!
- Defined in:
- lib/oode/net/uploader.rb
#upload!(file, options = {}) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/oode/net/uploader.rb', line 5 def upload!(file, = {}) create_upload_folder destination = [:destination] || file.remote_path @transfer.upload! file.path, destination end |