Sha256: 43512515c5afec4116e0723d62400b7a37234e6316aa3e46d50b8882818736c7

Contents?: true

Size: 228 Bytes

Versions: 15

Compression:

Stored size: 228 Bytes

Contents

Server.api :push_objects 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_objects(params[:objects])
  'done'
end

Version data entries

15 entries across 15 versions & 1 rubygems

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