]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/aviator/feature/aviator/openstack/identity/v2/admin/get_tenant_by_id.rb
Revert "add stackforge/keystone to 3rdparty"
[dsa-puppet.git] / 3rdparty / modules / aviator / feature / aviator / openstack / identity / v2 / admin / get_tenant_by_id.rb
1 module Aviator
2
3   define_request :get_tenant_by_id, :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/GET_listUsers_v2.0_users_.html'
9
10
11     param :id, :required => true
12
13
14     def headers
15       super
16     end
17
18
19     def http_method
20       :get
21     end
22
23
24     def url
25       "#{ base_url }/tenants/#{ params[:id] }"
26     end
27
28   end
29
30 end