lib/fog/rackspace/requests/compute_v2/set_metadata.rb in fog-maestrodev-1.15.0.20130927082724 vs lib/fog/rackspace/requests/compute_v2/set_metadata.rb in fog-maestrodev-1.18.0.20131111203459
- old
+ new
@@ -12,10 +12,10 @@
# * metadata [Hash]:
# @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
+ # @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',
:path => "/#{collection}/#{obj_id}/metadata",