Sha256: 40c47be2cc4543372d14b9fbb30e942848eba218ee33fd3f785fe51dcf9da0b8

Contents?: true

Size: 337 Bytes

Versions: 10

Compression:

Stored size: 337 Bytes

Contents

Server.api :fast_insert do |params,user|
  source = Source.load(params[:source_id],{:app_id=>APP_NAME,:user_id=>params[:user_id]})
  source_sync = SourceSync.new(source)
  timeout = params[:timeout] || 10
  raise_on_expire = params[:raise_on_expire] || false
  source_sync.fast_insert(params[:data], timeout,raise_on_expire)
  'done'
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rhosync-2.1.18.beta2 lib/rhosync/api/fast_insert.rb
rhosync-2.1.18.beta1 lib/rhosync/api/fast_insert.rb
rhosync-2.1.17 lib/rhosync/api/fast_insert.rb
rhosync-2.1.17.beta7 lib/rhosync/api/fast_insert.rb
rhosync-2.1.17.beta6 lib/rhosync/api/fast_insert.rb
rhosync-2.1.17.beta5 lib/rhosync/api/fast_insert.rb
rhosync-2.1.17.beta4 lib/rhosync/api/fast_insert.rb
rhosync-2.1.17.beta3 lib/rhosync/api/fast_insert.rb
rhosync-2.1.17.beta2 lib/rhosync/api/fast_insert.rb
rhosync-2.1.17.beta1 lib/rhosync/api/fast_insert.rb