lib/fog/rackspace/requests/cdn/post_container.rb in fog-1.10.1 vs lib/fog/rackspace/requests/cdn/post_container.rb in fog-1.11.0
- old
+ new
@@ -13,13 +13,13 @@
# * 'X-TTL'<~String> - integer seconds before data expires, defaults to 86400 (1 day), in 3600..259200
# * 'X-Log-Retention'<~Boolean> - ?
# * 'X-User-Agent-ACL'<~String> - ?
# * 'X-Referrer-ACL'<~String> - ?
# @return [Excon::Response] response
- # @raise [Fog::Rackspace::Errors::NotFound] - HTTP 404
- # @raise [Fog::Rackspace::Errors::BadRequest] - HTTP 400
- # @raise [Fog::Rackspace::Errors::InternalServerError] - HTTP 500
- # @raise [Fog::Rackspace::Errors::ServiceError]
+ # @raise [Fog::Storage::Rackspace::NotFound] - HTTP 404
+ # @raise [Fog::Storage::Rackspace::BadRequest] - HTTP 400
+ # @raise [Fog::Storage::Rackspace::InternalServerError] - HTTP 500
+ # @raise [Fog::Storage::Rackspace::ServiceError]
def post_container(name, options = {})
response = request(
:expects => [201, 202],
:headers => options,
:method => 'POST',