Sha256: c89e9ad36e4f07cb00c270574587da5c5dd4cae51e16bd1f337047d5082ccdf6

Contents?: true

Size: 225 Bytes

Versions: 22

Compression:

Stored size: 225 Bytes

Contents

Server.api :create_user, :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

22 entries across 22 versions & 1 rubygems

Version Path
rhoconnect-3.2.1 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.2.0 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.2.0.beta5 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.2.0.beta4 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.2.0.beta3 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.2.0.beta2 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.2.0.beta1 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.1.2 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.1.1 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.1.0 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.1.0.beta2 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.1.0.beta1 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.0.6 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.0.5 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.0.4 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.0.3 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.0.2 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.0.1 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.0.0 lib/rhoconnect/api/user/create_user.rb
rhoconnect-3.0.0.rc1 lib/rhoconnect/api/user/create_user.rb