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