Methods

CloudFiles

Cloud Files API

Connects Ruby Applications to Rackspace's Cloud Files service

Initial work by Major Hayden <major.hayden@rackspace.com>

Subsequent work by H. Wade Minter <minter@lunenburg.org> and Dan Prince <dan.prince@rackspace.com>

See COPYING for license information. Copyright (c) 2011, Rackspace US, Inc.


Documentation & Examples

To begin reviewing the available methods and examples, peruse the README file, or begin by looking at documentation for the CloudFiles::Connection class.

The CloudFiles class is the base class. Not much of note happens here. To create a new CloudFiles connection, use the CloudFiles::Connection.new(:username => 'user_name', :api_key => 'api_key') method.


The new properly scoped exceptions.

Public Class Methods

escape(str) click to toggle source
# File lib/cloudfiles.rb, line 53
def self.escape(str)
  URI.encode(str)
end
lines(str) click to toggle source
# File lib/cloudfiles.rb, line 49
def self.lines(str)
  (str.respond_to?(:lines) ? str.lines : str).to_a.map { |x| x.chomp }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.