Sha256: cf2fc03a7c6aa86cef435935239d540250d52c67555c81361485126c2b686c4e

Contents?: true

Size: 150 Bytes

Versions: 14

Compression:

Stored size: 150 Bytes

Contents

Server.api :delete_user do |params,user|
  User.load(params[:user_id]).delete
  App.load(APP_NAME).users.delete(params[:user_id])
  "User deleted"
end

Version data entries

14 entries across 14 versions & 1 rubygems

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