3 define_request :list_flavors, :inherit => [:openstack, :common, :v2, :public, :base] do
5 meta :service, :compute
8 'http://docs.openstack.org/api/openstack-compute/2/content/List_Flavors-d1e4188.html'
10 param :details, :required => false
11 param :minDisk, :required => false, :alias => :min_disk
12 param :minRam, :required => false, :alias => :min_ram
13 param :marker, :required => false
14 param :limit, :required => false
28 str = "#{ base_url }/flavors"
29 str += "/detail" if params[:details]
30 str += params_to_querystring(optional_params + required_params - [:details])