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