Module: CloudFiles
- Defined in:
- lib/cloudfiles.rb,
lib/cloudfiles/container.rb,
lib/cloudfiles/connection.rb,
lib/cloudfiles/authentication.rb,
lib/cloudfiles/storage_object.rb
Overview
Cloud Files API
Connects Ruby Applications to Rackspace’s Cloud Files service
Initial work by Major Hayden <[email protected]>
Subsequent work by H. Wade Minter <[email protected]>
See COPYING for license information. Copyright © 2009, 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(‘user_name’, ‘api_key’) method.
Defined Under Namespace
Classes: Authentication, Connection, Container, StorageObject
Constant Summary collapse
- VERSION =
'1.4.0.0'
Class Method Summary collapse
Class Method Details
.lines(str) ⇒ Object
42 43 44 |
# File 'lib/cloudfiles.rb', line 42 def self.lines(str) (str.respond_to?(:lines) ? str.lines : str).to_a.map { |x| x.chomp } end |