examples/api-samples/samples/sample11.rb in groupdocs-1.7.0 vs examples/api-samples/samples/sample11.rb in groupdocs-1.8.0
- old
+ new
@@ -1,11 +1,11 @@
#GET request
-get '/sample-11-how-to-programmatically-create-and-post-an-annotation-into-document' do
+get '/sample-11-how-programmatically-create-and-post-an-annotation-into-document' do
haml :sample11
end
#POST request
-post '/sample-11-how-to-programmatically-create-and-post-an-annotation-into-document' do
+post '/sample-11-how-programmatically-create-and-post-an-annotation-into-document' do
#Set variables
set :client_id, params[:clientId]
set :private_key, params[:privateKey]
set :file_id, params[:fileId]
set :annotation_type, params[:annotationType]
\ No newline at end of file