try again, with puppetforge modules, correctly included now
[mirror/dsa-puppet.git] / 3rdparty / modules / aviator / feature / aviator / openstack / identity / v2 / admin / delete_tenant.rb
1 module Aviator
2
3   define_request :delete_tenant, :inherit => [:openstack, :common, :v2, :admin, :base] do
4
5     meta :service, :identity
6
7     link 'documentation',
8       'http://docs.openstack.org/api/openstack-identity-service/2.0/content/DELETE_deleteTenant_v2.0_tenants__tenantId__.html'
9
10     param :id, :required => true
11
12
13     def headers
14       super
15     end
16
17
18     def http_method
19       :delete
20     end
21
22
23     def url
24       "#{ base_url }/tenants/#{ params[:id]}"
25     end
26
27   end
28
29 end