Sha256: 3e3170772219b44dbdcb7a73aef539140926e3f725a448c10c6d6c59e9c743b1
Contents?: true
Size: 352 Bytes
Versions: 1
Compression:
Stored size: 352 Bytes
Contents
Server.api :clientcreate, :application, :get do |params,user,server| server.catch_all do 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 } }.merge!(server.source_config).to_json end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rhoconnect-3.0.0.beta1 | lib/rhoconnect/api/application/clientcreate.rb |