]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/aviator/lib/puppet/feature/aviator/openstack/compute/requests/v2/public/get_image_details.rb
add aimonb/aviator to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / aviator / lib / puppet / feature / aviator / openstack / compute / requests / v2 / public / get_image_details.rb
1 module Aviator
2   
3   define_request :get_image_details, :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_Image_Details-d1e4848.html'
9
10     param :id, :required => true
11
12
13     def headers
14       super
15     end
16
17
18     def http_method
19       :get
20     end
21
22
23     def url
24       "#{ base_url }/images/#{ params[:id]}"
25     end
26
27   end
28
29 end