Skip to content

Commit

Permalink
[rackspace|storage] use non-deprecated cdn connection
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed Jan 22, 2011
1 parent da1804a commit 228367e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/fog/storage/rackspace.rb
Expand Up @@ -43,8 +43,9 @@ class Storage < Fog::Service
module Utils

def cdn
@cdn ||= Fog::Rackspace::CDN.new(
:rackspace_api_key => @rackspace_api_key,
@cdn ||= Fog::CDN.new(
:provider => 'Rackspace',
:rackspace_api_key => @rackspace_api_key,
:rackspace_username => @rackspace_username
)
end
Expand Down

0 comments on commit 228367e

Please sign in to comment.