]> git.donarmstrong.com Git - dsa-puppet.git/blob
f01ce0bd6a043bb7f127e1aa9e26ce42b1bd2fc8
[dsa-puppet.git] /
1 module Aviator
2   
3   define_request :list_keypairs, :inherit => [:openstack, :common, :v2, :public, :base] do
4
5     meta :service, :compute
6
7     link 'documentation',
8          'http://docs.openstack.org/api/openstack-compute/2/content/GET_os-keypairs-v2_getKeypair__v2__tenant_id__os-keypairs_ext-os-keypairs.html'
9
10     def headers
11       super
12     end
13
14
15     def http_method
16       :get
17     end
18
19
20     def url
21       str  = "#{ base_url }/os-keypairs"
22     end
23
24   end
25
26 end