Sha256: f884da53eb08f73386355dccc237dc3328d92a15893586ff014bd4bb6d2c162b

Contents?: true

Size: 450 Bytes

Versions: 1

Compression:

Stored size: 450 Bytes

Contents

# Server.api4 :clientcreate, :post, "/rc/#{Rhoconnect::API_VERSION}/clients", \
#                       false, {:verb => :get, :url => ['/application/clientcreate', '/api/application/clientcreate']} do |params,user,server|
#   server.content_type :json
#   client = Client.create(:user_id => server.current_user.id,:app_id => server.current_app.id)
#   client.update_fields(params)
#   { "client" => { "client_id" =>  client.id.to_s } }.to_json
# end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhoconnect-4.0.0.beta.10 lib/rhoconnect/api/client/create.rb