Sha256: bbadc2cf3049e68ffa1225f5c011519c363011eb05d7eb407c27d5978193f2bd

Contents?: true

Size: 229 Bytes

Versions: 15

Compression:

Stored size: 229 Bytes

Contents

Server.api :push_deletes do |params,user|
  source = Source.load(params[:source_id],{:app_id=>APP_NAME,:user_id=>params[:user_id]})
  source_sync = SourceSync.new(source)
  source_sync.push_deletes(params[:objects])
  'done'
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rhosync-2.1.10 lib/rhosync/api/push_deletes.rb
rhosync-2.1.7 lib/rhosync/api/push_deletes.rb
rhosync-2.1.6 lib/rhosync/api/push_deletes.rb
rhosync-2.1.3 lib/rhosync/api/push_deletes.rb
rhosync-2.1.2 lib/rhosync/api/push_deletes.rb
rhosync-2.1.1 lib/rhosync/api/push_deletes.rb
rhosync-2.1.0 lib/rhosync/api/push_deletes.rb
rhosync-2.1.0.beta.2 lib/rhosync/api/push_deletes.rb
rhosync-2.1.0.beta.1 lib/rhosync/api/push_deletes.rb
rhosync-2.0.9 lib/rhosync/api/push_deletes.rb
rhosync-2.0.8 lib/rhosync/api/push_deletes.rb
rhosync-2.0.7 lib/rhosync/api/push_deletes.rb
rhosync-2.0.6 lib/rhosync/api/push_deletes.rb
rhosync-2.0.5 lib/rhosync/api/push_deletes.rb
rhosync-2.0.4 lib/rhosync/api/push_deletes.rb