Sha256: c7094d383b6182a2e082ed4d6ae26f70e87d7721cc0340dd970ee68d88240b59
Contents?: true
Size: 1011 Bytes
Versions: 13
Compression:
Stored size: 1011 Bytes
Contents
module Fog module Compute class Brightbox class Real # Cancels or completes the collaboration # # @param [String] identifier Unique reference to identify the resource # @param [Hash] options # @option options [Boolean] :nested passed through with the API request. When true nested resources are expanded. # # @return [Hash] if successful Hash version of JSON object # # @see https://api.gb1.brightbox.com/1.0/#collaboration_delete_collaboration # def delete_collaboration(identifier, options = {}) return nil if identifier.nil? || identifier == "" wrapped_request("delete", "/1.0/collaborations/#{identifier}", [200], options) end # Old format of the delete request. # # @deprecated Use +#delete_collaboration+ instead # def destroy_collaboration(identifier) delete_collaboration(identifier) end end end end end
Version data entries
13 entries across 11 versions & 2 rubygems