examples/api-samples/samples/sample22.rb in groupdocs-1.6.0 vs examples/api-samples/samples/sample22.rb in groupdocs-1.7.0
- old
+ new
@@ -1,11 +1,11 @@
#GET request
-get '/sample22' do
+get '/sample-22-how-to-create-or-update-user-and-add-him-to-collaborators' do
haml :sample22
end
#POST request
-post '/sample22' do
+post '/sample-22-how-to-create-or-update-user-and-add-him-to-collaborators' do
#Set variables
set :client_id, params[:clientId]
set :private_key, params[:privateKey]
set :fileId, params[:fileId]
set :email, params[:email]