Sha256: ad6e8d91f810012d442f76b39d35c0e1ab6379784b50583958b71f855342f132

Contents?: true

Size: 167 Bytes

Versions: 18

Compression:

Stored size: 167 Bytes

Contents

Rhosync::Server.api :upload_file do |params,user|
  unzip_file(Rhosync.app_directory,params[:upload_file]) if File.exists?(Rhosync.app_directory)
  "File uploaded"
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rhosync-2.0.3 lib/rhosync/api/upload_file.rb
rhosync-2.0.2 lib/rhosync/api/upload_file.rb
rhosync-2.0.1 lib/rhosync/api/upload_file.rb
rhosync-2.0.0 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.rc2 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.rc1 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta13 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta12 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta11 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta10 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta9 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta8 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta7 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta6 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta4 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta3 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta2 lib/rhosync/api/upload_file.rb
rhosync-2.0.0.beta1 lib/rhosync/api/upload_file.rb