Skip to content

Instantly share code, notes, and snippets.

@krames
Created September 11, 2013 14:29
Show Gist options
  • Select an option

  • Save krames/6524434 to your computer and use it in GitHub Desktop.

Select an option

Save krames/6524434 to your computer and use it in GitHub Desktop.
This returns a storage service that works with Rackspace's Sydney data center.
service = Fog::Storage.new({
:provider => 'Rackspace', # Rackspace Fog provider
:rackspace_username => RACKSPACE_USER_NAME, # Your Rackspace Username
:rackspace_api_key => RACKSPACE_API, # Your Rackspace API key
:rackspace_region => :syd
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment