Sha256: 81b995477a67b043f3e4caab2134669c28385590fdd6479c67739e8b95d6dedb
Contents?: true
Size: 227 Bytes
Versions: 18
Compression:
Stored size: 227 Bytes
Contents
Rhosync::Server.api :create_user do |params,user| app = App.load(APP_NAME) u = User.create({:login => params[:attributes]['login']}) u.password = params[:attributes]['password'] app.users << u.login "User created" end
Version data entries
18 entries across 18 versions & 1 rubygems