lib/fog/rackspace/cdn.rb in fog-0.3.29 vs lib/fog/rackspace/cdn.rb in fog-0.3.30
- old
+ new
@@ -1,12 +1,10 @@
module Fog
module Rackspace
class CDN < Fog::Service
- requires :rackspace_api_key, :rackspace_username
- # NOTE: recognizes clause delegates to Fog::Rackspace.authenticate's so
- # we also declare those parameters that the authenticate expects...
- recognizes :rackspace_auth_url, :persistent
+ requires :rackspace_api_key, :rackspace_username, &inject_parameter_specs
+ recognizes :rackspace_auth_url, :persistent, &inject_parameter_specs
model_path 'fog/rackspace/models/cdn'
request_path 'fog/rackspace/requests/cdn'
request :get_containers