# File lib/AWS/EC2/volumes.rb, line 41 41: def delete_volume( options = {} ) 42: options = { :volume_id => '' }.merge(options) 43: raise ArgumentError, "No :volume_id provided" if options[:volume_id].nil? || options[:volume_id].empty? 44: params = { 45: "VolumeId" => options[:volume_id] 46: } 47: return response_generator(:action => "DeleteVolume", :params => params) 48: end