Sha256: 48433691c68292874df409022c4e6cff8dd85fb7b897f1caffc310ffed6f4fb4
Contents?: true
Size: 997 Bytes
Versions: 13
Compression:
Stored size: 997 Bytes
Contents
module Fog module Compute class Brightbox class Real # Destroy the LoadBalancer # # @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/#load_balancer_delete_load_balancer # def delete_load_balancer(identifier, options = {}) return nil if identifier.nil? || identifier == "" wrapped_request("delete", "/1.0/load_balancers/#{identifier}", [202], options) end # Old format of the delete request. # # @deprecated Use +#delete_load_balancer+ instead # def destroy_load_balancer(identifier) delete_load_balancer(identifier) end end end end end
Version data entries
13 entries across 11 versions & 2 rubygems