lib/redrax/files.rb
def delete(container_name, file_name)
      validate_path_elements(container_name, file_name)

      client.request(
        method:   :delete,
        path:     "#{container_name}/#{file_name}",
        expected: 204
      )
    end
# Deletes an object from Cloud Files.
# @param container_name [String] Name of the container to delete the file from
# @param file_name [String] Name of the file to delete
Deletes an object from Cloud Files.
Deletes an object from Cloud Files .
def delete(container_name, file_name)
      validate_path_elements(container_name, file_name)
      client.request(
        method:   :delete,
        path:     "#{container_name}/#{file_name}",
        expected: 204
      )
    end
def delete ( container_name , file_name ) validate_path_elements ( container_name , file_name ) client . request ( method : :delete , path : "#{container_name}/#{file_name}" , expected : 204 ) end
Deletes an object from Cloud Files.
Deletes an object from Cloud Files .
container_name
Name of the container to delete the file from
Name of the container to delete the file from
file_name
Name of the file to delete
Name of the file to delete