]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/aviator/feature/aviator/openstack/compute/v2/public/get_flavor_details.rb
8faeb900e88b8373d654323be5c3e48c1e7c4e87
[dsa-puppet.git] / 3rdparty / modules / aviator / feature / aviator / openstack / compute / v2 / public / get_flavor_details.rb
1 module Aviator
2
3   define_request :get_flavor_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_Flavor_Details-d1e4317.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 }/flavors/#{ params[:id] }"
25     end
26
27   end
28
29 end