lib/fog/rackspace/requests/compute_v2/set_metadata.rb in fog-1.10.1 vs lib/fog/rackspace/requests/compute_v2/set_metadata.rb in fog-1.11.0
- old
+ new
@@ -8,13 +8,13 @@
# @param [String] obj_id id of the object where the metadata is attached
# @param [Hash] metadata key value pairs of metadata
# @return [Excon::Response] response:
# * body [Hash]:
# * metadata [Hash]:
- # @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::Compute::RackspaceV2::NotFound] - HTTP 404
+ # @raise [Fog::Compute::RackspaceV2::BadRequest] - HTTP 400
+ # @raise [Fog::Compute::RackspaceV2::InternalServerError] - HTTP 500
+ # @raise [Fog::Compute::RackspaceV2::ServiceError]
# @see http://docs.rackspace.com/servers/api/v2/cs-devguide/content/Create_or_Replace_Metadata-d1e5358.html
def set_metadata(collection, obj_id, metadata = {})
request(
:expects => [200, 203],
:method => 'PUT',