examples/api-samples/samples/sample41.rb in groupdocs-1.6.0 vs examples/api-samples/samples/sample41.rb in groupdocs-1.7.0
- old
+ new
@@ -1,7 +1,7 @@
#GET request
-get '/sample41' do
+get '/sample-41-how-to-set-callback-for-annotation-and-manage-user-rights' do
haml :sample41
end
#POST request
post '/sample41/callback' do
@@ -78,10 +78,10 @@
end
#POST request
-post '/sample41' do
+post '/sample-41-how-to-set-callback-for-annotation-and-manage-user-rights' do
#Set variables
set :client_id, params[:clientId]
set :private_key, params[:privateKey]
set :email, params[:email]
set :source, params[:source]