try again, with puppetforge modules, correctly included now
[mirror/dsa-puppet.git] / 3rdparty / modules / aviator / feature / aviator / openstack / volume / v1 / public / list_volume_types.rb
1 module Aviator
2
3   define_request :list_volume_types, :inherit => [:openstack, :common, :v2, :public, :base] do
4
5     meta :provider,       :openstack
6     meta :service,        :volume
7     meta :api_version,    :v1
8     meta :endpoint_type,  :public
9
10     link 'documentation', 'http://docs.rackspace.com/cbs/api/v1.0/cbs-devguide/content/GET_getVolumeTypes_v1__tenant_id__types_v1__tenant_id__types.html'
11
12     param :extra_specs, :required => false
13     param :name,        :required => false
14
15     def headers
16       super
17     end
18
19     def http_method
20       :get
21     end
22
23     def url
24       "#{ base_url }/types"
25     end
26
27   end
28
29 end