Sha256: 419cea385369f198e3b81d8d42f5b5dbbb74fdf051b6400bdc89b19a7ab1e519

Contents?: true

Size: 744 Bytes

Versions: 1

Compression:

Stored size: 744 Bytes

Contents

# Server.resource_api '', "/app/#{Rhoconnect::API_VERSION}/:source_id/fast_delete", :post, \
#         {:admin_route => true, :login_required => false, :deprecated_route => {:verb => :post, :url => ['/api/fast_delete', '/api/source/fast_delete']}} do
#   source = Source.load(params[:source_id],{:app_id=>APP_NAME,:user_id=>params[:user_id]})
#   # if source does not exist create one for dynamic adapter
#   source = Source.create({:name => params[:source_id]},{:app_id => APP_NAME,:user_id=>params[:user_id]}) unless source
#   source_sync = SourceSync.new(source)
#   timeout = params[:timeout] || 10
#   raise_on_expire = params[:raise_on_expire] || false
#   source_sync.fast_delete(params[:data], timeout,raise_on_expire)
#   'done'
# end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhoconnect-4.0.0.beta.10 lib/rhoconnect/api/app/fast_delete.rb