appflow: Add post /service_template route

This commit is contained in:
Daniel Molina committed 2012-09-21 11:43:32 +02:00
1 parent fb82c4a96f
commit 4101962ceb
1 file changed
+8
+8
View File
@@ -94,5 +94,13 @@ post '/service_template/:id/action' do
resp = client.post('/service_template/' + params[:id] + '/action', request.body.read)
format_response(resp)
end
post '/service_template' do
client = build_client
resp = client.post('/service_template', request.body.read)
format_response(resp)
end