3 define_request :update_volume, :inherit => [:openstack, :common, :v2, :public, :base] do
8 link 'documentation', 'http://docs.rackspace.com/cbs/api/v1.0/cbs-devguide/content/PUT_renameVolume_v1__tenant_id__volumes__volume_id__v1__tenant_id__volumes.html'
10 param :id, :required => true
11 param :display_name, :required => false
12 param :display_description, :required => false
18 [:display_name, :display_description].each do |key|
19 p[:volume][key] = params[key] if params[key]
37 "#{ base_url }/volumes/#{ params[:id] }"