Sha256: 96c89d91465b8dd5daa233f8376ffe95c3585b50b17452f956fe72be2d8d1f21
Contents?: true
Size: 323 Bytes
Versions: 21
Compression:
Stored size: 323 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 } }.to_json end end
Version data entries
21 entries across 21 versions & 1 rubygems