Sha256: d3fd8db7af0cc8e44de283407d70201dc622d40679e45f3f57454435d61d3489
Contents?: true
Size: 996 Bytes
Versions: 13
Compression:
Stored size: 996 Bytes
Contents
module Fog module Compute class Brightbox class Real # Release the cloud IP address from the account's ownership. # # @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/#cloud_ip_delete_cloud_ip # def delete_cloud_ip(identifier, options = {}) return nil if identifier.nil? || identifier == "" wrapped_request("delete", "/1.0/cloud_ips/#{identifier}", [200], options) end # Old format of the delete request. # # @deprecated Use +#delete_cloud_ip+ instead # def destroy_cloud_ip(identifier) delete_cloud_ip(identifier) end end end end end
Version data entries
13 entries across 11 versions & 2 rubygems